TxPageLayout PageLayout { get; set; } |
The PageLayout property switches the document view type at startup. The PDF document starts in presentation mode.
Equivalent in new interface: IPDFDocument4::ViewerPageLayout.
{ PDF object is supposed to be created } PDF.StartEngine('demo', 'demo'); PDF.FileName := 'empty.pdf'; PDF.AutoLaunch := true; PDF.PageLayout := plSinglePage; PDF.BeginDoc; PDF.EndDoc;
// PDF object is supposed to be created PDF->StartEngine('demo', 'demo'); PDF->FileName = 'empty.pdf'; PDF->AutoLaunch = TRUE; PDF->PageLayout = plSinglePage; PDF->BeginDoc(); PDF->EndDoc();
// PDF object is supposed to be created PDF.StartEngine('demo', 'demo'); PDF.FileName = 'empty.pdf'; PDF.AutoLaunch = true; PDF.PageLayout = TxPageLayout.plSinglePage; PDF.BeginDoc(); PDF.EndDoc();
' PDF object is supposed to be created PDF.StartEngine "demo@demo", "demo" PDF.AutoLaunch = true PDF.FileName = "empty.pdf" PDF.PageLayout = plSinglePage PDF.BeginDoc PDF.EndDoc