DADrawCapturedPage
直接访问功能, 页面布局
说明
本页介绍 PDFlibPas 中属于“直接访问功能, 页面布局”主题的 DADrawCapturedPage。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。
调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。
语法
Delphi
Function TPDFlib.DADrawCapturedPage(FileHandle, DACaptureID, DestPageRef: Integer; PntLeft, PntBottom, PntWidth, PntHeight: Double): Integer;
ActiveX
Function PDFlib::DADrawCapturedPage(FileHandle As Long, DACaptureID As Long, DestPageRef As Long, PntLeft As Double, PntBottom As Double, PntWidth As Double, PntHeight As Double) As Long
DLL
int DLDADrawCapturedPage(int InstanceID, int FileHandle, int DACaptureID, int DestPageRef, double PntLeft, double PntBottom, double PntWidth, double PntHeight);
参数
| FileHandle | FileHandle 表示文件路径或文件名。请为当前流程使用有效路径,并保留 API 期望的编码。 |
|---|---|
| DACaptureID | DACaptureID 是 DADrawCapturedPage 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 |
| DestPageRef | DestPageRef 标识当前 PDF 文档中的页面或页面引用。 |
| PntLeft | PntLeft 是 DADrawCapturedPage 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 |
| PntBottom | PntBottom 是 DADrawCapturedPage 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 |
| PntWidth | PntWidth 是 DADrawCapturedPage 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 |
| PntHeight | PntHeight 是 DADrawCapturedPage 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 |
返回值
| 0 | 此值说明 DADrawCapturedPage 的调用结果。通常非零值表示成功,0 表示操作未完成。 |
|---|---|
| 1 | 此值说明 DADrawCapturedPage 的调用结果。通常非零值表示成功,0 表示操作未完成。 |