NewOptionalContentGroupEx
Content Streams and Optional Content Groups
Mô tả
Tạo một optional-content group và áp trạng thái xem và in ban đầu của nó
Cú pháp
Delphi
Function TPDFlib.NewOptionalContentGroupEx(Const GroupName: WideString; Visible, Printable: Integer): Integer;
Tham số
| GroupName | Layer name shown by PDF viewers |
|---|---|
| Visible | Initial view state, where 1 is visible and 0 is hidden |
| Printable | Trạng thái in ban đầu, trong đó 1 là có thể in và 0 là không thể in |
Giá trị trả về
Trả về optional-content group handle, hoặc 0 nếu không tạo được nhóm
Remarks
Wrapper này gộp việc tạo nhóm với thiết lập hiển thị và trạng thái in thông thường
Xem thêm
NewOptionalContentGroup, SetOptionalContentGroupVisible, SetOptionalContentGroupPrintable