/
GetPageSize

GetPageSize

Declaration

Delphi

procedure GetPageSize(Page: Integer; var x, y: Integer); stdcall;

ActiveX

HRESULT _stdcall GetPageSize([in] long Page, [in, out] long* x, [in, out] long* y);

 

Arguments

ArgumentDescription
Page

Number of the page, you want the size from

XWidth (PDF points)
YHeight (PDF points)

 

Description

Because a TIFF or PDF document can include pages with different sizes, you have to tell this procedure the desired page number in Page. The procedure will write the size of the page into the variables X and Y.

In case of a TIFF document, it will be the size in pixels.

In case of a PDF document, it will be the size in points (Points are a PDF specific measurement method because PDF documents are scalable and do not have a fixed size in pixels).

 

 

Sample 

C#
 
int x = 0;     
int y = 0;      
int page = 1;
                
SignAPIv4.GetPageSize(page, ref x, ref y);

Related content

GetPage
GetPage
More like this
SetSignDocMode
SetSignDocMode
More like this
GetPageNum
GetPageNum
More like this
AddSignatureImage
AddSignatureImage
More like this
GetSigData
GetSigData
More like this
GetSensorSize
More like this