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
Overload | Description |
DeleteOCG(Int32) | 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. |
DeleteOCG(Int32,Boolean) | 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