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

Reference page for EndOptionalContent. The function belongs to Content Streams and Optional Content Groups and keeps all identifiers exactly as shown

Syntax

Delphi

Function TPDFlib.EndOptionalContent: Integer;

ActiveX

Function PDFlib::EndOptionalContent() As Long

DLL

int DLEndOptionalContent(int InstanceID);

Return values

0No document was available
1The optional-content drawing scope was closed successfully