DASetPageSize

פונקציונליות גישה ישירה, מאפייני עמוד

תיאור

מגדירה לעמוד שצוין רוחב וגובה מסוימים

תחביר

Delphi

Function TPDFlib.DASetPageSize(FileHandle, PageRef: Integer; PntWidth, PntHeight: Double): Integer;

ActiveX

Function PDFlib::DASetPageSize(FileHandle As Long, PageRef As Long, PntWidth As Double, PntHeight As Double) As Long

DLL

int DLDASetPageSize(int InstanceID, int FileHandle, int PageRef, double PntWidth, double PntHeight);

פרמטרים

FileHandlehandle שהוחזר על ידי הפונקציות DAOpenFile, DAOpenFileReadOnly או DAOpenFromStream
PageRefהפניה לדף שהוחזרה על ידי הפונקציות DAFindPage או DANewPage
PntWidthהרוחב החדש של הדף, נמדד בנקודות
PntHeightהגובה החדש של העמוד, נמדד בנקודות

ערכי החזרה

0ה-FileHandle או ה-PageRef שצוינו אינם תקינים
1גודל העמוד הוגדר בהצלחה