Foxit PDF SDK
fsdk.PageBasicInfo Class Reference

Public Member Functions

def GetHeight ()
 Get page height (unit is 1/72 inch). More...
 
def GetRotation ()
 Get page rotation. More...
 
def GetWidth ()
 Get page width (unit is 1/72 inch). More...
 
def Set (width, height, rotation)
 Set value.
More...
 
def SetHeight (value)
 Set page height (unit is 1/72 inch). More...
 
def SetRotation (value)
 Set page rotation. More...
 
def SetWidth (value)
 Set page width (unit is 1/72 inch). More...
 

Detailed Description

This class represents page basic information, such as page width, page height, and page rotation. This is used as the return type of function fsdk.PDFDoc.GetPageBasicInfo .

Member Function Documentation

◆ GetHeight()

fsdk.PageBasicInfo.GetHeight ( )

Get page height (unit is 1/72 inch).

Returns
Page height (unit is 1/72 inch).

◆ GetRotation()

fsdk.PageBasicInfo.GetRotation ( )

Get page rotation.

Returns
Page rotation. Please refer to values starting from fsdk.E_Rotation0 and this should be one of these values.

◆ GetWidth()

fsdk.PageBasicInfo.GetWidth ( )

Get page width (unit is 1/72 inch).

Returns
Page width (unit is 1/72 inch).

◆ Set()

def fsdk.PageBasicInfo.Set (   width,
  height,
  rotation 
)

Set value.

Parameters
[in]widthPage width (unit is 1/72 inch).
[in]heightPage height (unit is 1/72 inch).
[in]rotationPage rotation. Please refer to values starting from fsdk.E_Rotation0 and this should be one of these values except fsdk.E_RotationUnknown .
Returns
None.

◆ SetHeight()

fsdk.PageBasicInfo.SetHeight (   value)

Set page height (unit is 1/72 inch).

Parameters
[in]valuePage height (unit is 1/72 inch).
Returns
None.

◆ SetRotation()

fsdk.PageBasicInfo.SetRotation (   value)

Set page rotation.

Parameters
[in]valuePage rotation. Please refer to values starting from fsdk.E_Rotation0 and this should be one of these values.
Returns
None.

◆ SetWidth()

fsdk.PageBasicInfo.SetWidth (   value)

Set page width (unit is 1/72 inch).

Parameters
[in]valuePage width (unit is 1/72 inch).
Returns
None.