Click or drag to resize

Context Methods

The Context type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNonOCDrawing
Gets the non oc drawing.
Public methodGetOCMode
Gets OC drawing mode
Public methodGetState
Gets the state.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodResetStates
Sets the sates of all OCGs in the context to ON or OFF.
Public methodSetNonOCDrawing
Sets the non-OC status for this context. Content that is not marked as optional content is drawn (or element.IsOCVisible()) when 'draw_non_OC' is true, and not drawn/visible otherwise.
Public methodSetOCDrawMode
Sets the drawing and enumeration type for this context. This type, together with the visibility determined by the OCG and OCMD states, controls whether content that is marked as optional content is drawn or enumerated.
Public methodSetState
Sets the ON-OFF states for the given optional-content group (OCG) in this context.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also