PdfGetPageOrientation Method

See Also     Examples     Applies To

Gets the next pages orientation of the native pdf created by the PdfNewPdfEx() function.

Syntax

object.PdfGetPageOrientation ()

The PdfGetPageOrientation syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

Long. The page orientation. -1: Error (Create a PDF first), 0: Portrait, 1: Landscape (90° rotation).

Remarks

This function can only be used with the native PDF created by the PdfNewPdfEx() function.

Category

PDF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.