PaperOrientation PageOrientation { get; set; } |
{ PDF object is supposed to be created } PDF.PageSize := pfA4; PDF.PageOrientation := pLandscape; PDF.ShowText('Test'); PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created PDF->PageSize = pfA4; PDF->PageOrientation = pLandscape; PDF->ShowText("Test"); PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created PDF.PageSize = PaperFormat.pfA4; PDF.PageOrientation = PaperOrientation.pLandscape; PDF.ShowText("Test"); PDF.SaveToFile("test.pdf", true);
' 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