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);
פרמטרים
| FileHandle | handle שהוחזר על ידי הפונקציות DAOpenFile, DAOpenFileReadOnly או DAOpenFromStream |
|---|---|
| PageRef | הפניה לדף שהוחזרה על ידי הפונקציות DAFindPage או DANewPage |
| PntWidth | הרוחב החדש של הדף, נמדד בנקודות |
| PntHeight | הגובה החדש של העמוד, נמדד בנקודות |
ערכי החזרה
| 0 | ה-FileHandle או ה-PageRef שצוינו אינם תקינים |
|---|---|
| 1 | גודל העמוד הוגדר בהצלחה |