THotPDF.AddPageRectilinearViewportEx Method

Adds an extended rectilinear viewport to the page addressed by index in the page geometry workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing or page rendering steps

Declaration

function AddPageRectilinearViewportEx(PageIndex: Integer; const Name: AnsiString; Left, Bottom, Right, Top: Double; const Measure: THPDFRectilinearMeasureInfo): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index or object index used to select an existing item
NamePDF resource name, packet name, profile name or caller-defined identifier
LeftPage coordinate or size value expressed in the current HotPDF coordinate space
BottomPage coordinate or size value expressed in the current HotPDF coordinate space
RightPage coordinate or size value expressed in the current HotPDF coordinate space
TopPage coordinate or size value expressed in the current HotPDF coordinate space
MeasureInput supplied to AddPageRectilinearViewportEx

Return value

Returns an Integer value

Usage notes

Related APIs