PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis property gets or sets the current page orientation.
|
| PaperOrientation PageOrientation { get; set; } |
Value
Remarks
All changes to a page must occur before the first drawing on a page.
Example
Setting Page Orientation
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.PageSize := pfA4;
PDF.PageOrientation := pLandscape;
PDF.ShowText('Test');
PDF.SaveToFile('test.pdf', true);
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->PageSize = pfA4;
PDF->PageOrientation = pLandscape;
PDF->ShowText("Test");
PDF->SaveToFile("test.pdf", true);
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.PageSize = PaperFormat.pfA4;
PDF.PageOrientation = PaperOrientation.pLandscape;
PDF.ShowText("Test");
PDF.SaveToFile("test.pdf", true);
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.PageSize = 2 'PaperFormat.pfA4 PDF.PageOrientation = 1 'PaperOrientation.pLandscape PDF.ShowText "Test" PDF.SaveToFile "test.pdf", true
See Also
Reference


