DAPageRotation

直接アクセス機能、ページプロパティ

説明

指定されたページの回転を返します

構文

Delphi

Function TPDFlib.DAPageRotation(FileHandle, PageRef: Integer): Integer;

ActiveX

Function PDFlib::DAPageRotation(FileHandle As Long, PageRef As Long) As Long

DLL

int DLDAPageRotation(int InstanceID, int FileHandle, int PageRef);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル
PageRefDAFindPage または DANewPage 関数から返されるページ参照

戻り値

ページの回転角を度単位(0、90、180、270のいずれか)で返します。ファイルハンドルまたはページ参照が無効な場合は0を返します。