PageGetOrientationΒΆ

PageGetOrientation gets the page orientation (portrait or landscape).

nOrientation = PageGetOrientation(hPage)

Return Value

If nOrientation equals 1, the document will be displayed in portrait orientation.If nOrientation equals 2, the document will be displayed in landscape orientation.

If the function fails, the return value is FALSE (0).

Parameters

hPage

Identifies the page.

id-1383773