SetCapturedPageTransparencyGroup

内容流和可选内容组, 页面布局

说明

本页介绍 PDFlibPas 中属于“内容流和可选内容组, 页面布局”主题的 SetCapturedPageTransparencyGroup。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。

调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。 CapturePage, CapturePageEx

使用此 API 时,请注意 PDF/A 限制、所需最低 PDF 版本、外部资源以及当前选定的文档状态。

语法

Delphi

Function TPDFlib.SetCapturedPageTransparencyGroup(CaptureID, CS, Isolate, Knockout: Integer): Integer;

ActiveX

Function PDFlib::SetCapturedPageTransparencyGroup(CaptureID As Long, CS As Long, Isolate As Long, Knockout As Long) As Long

DLL

int DLSetCapturedPageTransparencyGroup(int InstanceID, int CaptureID, int CS, int Isolate, int Knockout);

参数

CaptureIDCaptureIDSetCapturedPageTransparencyGroup 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 CapturePage, CapturePageEx
CSCSSetCapturedPageTransparencyGroup 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
IsolateIsolateSetCapturedPageTransparencyGroup 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
KnockoutKnockoutSetCapturedPageTransparencyGroup 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。

返回值

0此值说明 SetCapturedPageTransparencyGroup 的调用结果。通常非零值表示成功,0 表示操作未完成。
1此值说明 SetCapturedPageTransparencyGroup 的调用结果。通常非零值表示成功,0 表示操作未完成。

另请参阅

CapturePage, CapturePageEx, DrawCapturedPage, SetPageTransparencyGroup