[Gambas-user] pdf orientation

Benoît Minisini gambas at ...1...
Fri Aug 13 22:12:58 CEST 2010


> I noticed there is an orientation property for the pdf, but ?how to use
> this. 

The Orientation property takes one of the following values:

	PdfDocument.Normal
	PdfDocument.Sideways
	PdfDocument.Inverted
	PdfDocument.SidewaysInverted

> Is there any automatic way to detect if the orientation of a doc is
> landscape?

The only way I see is testing the dimensions of the page.

Regards,

-- 
Benoît Minisini




More information about the User mailing list