Foxit PDF RDK
PageBasicInfo Class Reference
Inheritance diagram for PageBasicInfo:
NativeObjectWrapper

Public Member Functions

 constructor ()
 Constructor.
 
 constructor (width, height, rotation)
 Constructor, with parameters. More...
 
 Set (width, height, rotation)
 Set value. More...
 
- Public Member Functions inherited from NativeObjectWrapper
 constructor (r)
 
 GetPointerAsNumber ()
 

Public Attributes

 height
 Page height (unit is 1/72 inch).
 
 rotation
 Page rotation. Please refer to values starting from e_Rotation0 and this should be one of these values.
 
 width
 Page width (unit is 1/72 inch).
 

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 PDFDoc.GetPageBasicInfo.

Examples
/Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.

Member Function Documentation

◆ constructor()

PageBasicInfo.constructor ( width  ,
height  ,
rotation   
)

Constructor, with parameters.

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 e_Rotation0 and this should be one of these values except e_RotationUnknown.

◆ Set()

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 e_Rotation0 and this should be one of these values except e_RotationUnknown.
Returns
None.
Examples
/Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.