In This Topic

DeleteOCG Method (GdPicturePDF)

In This Topic
Deletes an optional content group (OCG) entry, specified by its unique identifier, from the currently loaded PDF document. You can also specify if the content of the given layer should be removed or not from the document itself.
Overload List
OverloadDescription
Deletes an optional content group (OCG) entry, specified by its unique identifier, from the currently loaded PDF document. This method only removes the specified OCG entry in the OCG entries dictionary, which subsequently makes the content of that layer visible within the document.  
Deletes an optional content group (OCG) entry, specified by its unique identifier, from the currently loaded PDF document. This method removes the specified OCG entry in the OCG entries dictionary and optionally removes the content of this layer from the document itself.  
See Also