SelectContentStream
內容串流與選用內容群組
描述
PDF 文件中的每個頁面都有一或多個內容串流部分,合起來包含該頁面全部的 PDF 頁面描述指令
此函式選取所選頁面的其中一個內容串流部分。
所有繪圖操作都只在所選的內容串流部分上執行
語法
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 | 指定的圖層選取成功 |