SelectContentStream
内容流和可选内容组
描述
PDF 文档中的一个页面具有一个或多个内容流部分,它们共同包含该页面的所有 PDF 页面描述命令
此函数选择所选页面's 内容流的一个部分
所有绘制操作仅在所选内容流部分上执行
语法
Delphi
Function TPDFlib.SelectContentStream(NewIndex: Integer): Integer;
ActiveX
Function PDFlib::SelectContentStream(NewIndex As Long) As Long
DLL
int DLSelectContentStream(int InstanceID, int NewIndex);
参数
| NewIndex | 要选择的内容流部分索引,第一个内容流部分的索引为 1 |
|---|
返回值
| 0 | 无法选择指定图层 |
|---|---|
| 1 | 已成功选择指定图层 |