ContextOCDrawMode Enumeration |
ContextOCDrawMode controls drawing or enumerating the page with respect to optional content.
Together with the value of SetNonOCDrawing this mode controls drawing or enumerating
content on a page with optional content:
- Content that is marked as optional content is drawn or not drawn according to the
OCDrawMode and the visibility state as determined by the Optional Content Groups (OCGs)
and OCMDs.
- Content that is not marked as optional content is drawn when GetNonOCDrawing() is
true, and not drawn when GetNonOCDrawing() is false.
Namespace:
pdftron.PDF.OCG
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public enum ContextOCDrawMode
Public Enumeration ContextOCDrawMode
public enum class ContextOCDrawMode
pdftron.PDF.OCG.ContextOCDrawMode = function();
pdftron.PDF.OCG.ContextOCDrawMode.createEnum('pdftron.PDF.OCG.ContextOCDrawMode', false);
Members
| Member name | Value | Description |
---|
| e_VisibleOC | 0 | Draw or enumerate optional content that is visible, according to the current state of
Optional Content Groups (OCGs) and Optional Content Membership Dictionaries (OCMDs).
This is the default mode. |
| e_AllOC | 1 | Draw or enumerate all optional content, regardless of its visibility state. If the
context's 'SetNonOCDrawing' is enabled, all contents of document are shown. |
| e_NoOC | 2 | Draw or enumerate no optional content, regardless of its visibility state. If the
context's 'SetNonOCDrawing' is not enabled, nothing is drawn, resulting in a blank page. |
See Also