EndOptionalContent
Content Streams and Optional Content Groups
Description
Ends the current optional-content drawing scope by writing the matching marked-content end operator to the selected page content stream
Call this after BeginOptionalContent once all layer-specific drawing commands have been written
Syntax
Delphi
Function TPDFlib.EndOptionalContent: Integer;
ActiveX
Function PDFlib::EndOptionalContent() As Long
DLL
int DLEndOptionalContent(int InstanceID);
Return values
| 0 | No document was available |
|---|---|
| 1 | The optional-content drawing scope was closed successfully |