DANormalizePage

Text, Document manipulation, Direct access functionality, Page manipulation

Description

Moves and/or rotates the contents of the page so that subsequent drawing operations are at the expected position on the page. All the page boundary boxes are adjusted to the physical size of the page and the page's rotation attribute is reset to zero.

Syntax

Delphi

function TPDFlib.DANormalizePage(FileHandle, PageRef: Integer; NormalizeOptions: Integer): Integer;

ActiveX

Function PDFlib::DANormalizePage(FileHandle As Long, PageRef As Long, NormalizeOptions As Long) As Long

DLL

int DLDANormalizePage(int InstanceID, int FileHandle, int PageRef, int NormalizeOptions);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageRefA page reference returned by the DAFindPage or DANewPage functions
NormalizeOptions0 = Standard normalization