Skip to content

PDFVisualObject

Namespace: O2S.Components.PDF4NET.Content

Defines the base class for visual objects displayed on a PDF page.

public abstract class PDFVisualObject

Inheritance ObjectPDFVisualObject

Properties

CTM

Get the current transformation matrix.

public PDFMatrix CTM { get; internal set; }

Property Value

PDFMatrix
The active transformation when the object is drawn on the page.


DisplayBounds

Gets the bounds of this object in visual coordinates.

public PDFDisplayRectangle DisplayBounds { get; }

Property Value

PDFDisplayRectangle
a PDFDisplayRectangle object specifying the rectangular bounds of this object.


GraphicsState

Gets the current graphics state.

public PDFVisualObjectGraphicsState GraphicsState { get; internal set; }

Property Value

PDFVisualObjectGraphicsState
The graphics state that is in place when the visual object is displayed on the page.


MarkedContentIdentifier

Gets the marked content identifier.

public int MarkedContentIdentifier { get; internal set; }

Property Value

Int32
An integer representing the id of the marked content sequence this visual object belongs to.

Remarks

A negative value means the visual object does not belong to a marked content sequence.


OptionalContentGroup

Gets the optional content group or set this object belong to.

public PDFOptionalContentBase OptionalContentGroup { get; internal set; }

Property Value

PDFOptionalContentBase
The optional content group or sets that includes this visual object.


StructureElement

Gets the structure element that includes this visual object.

public PDFStructureElement StructureElement { get; }

Property Value

PDFStructureElement
A PDFStructureElement object that includes this visual object.


Type

Gets the object type.

public PDFVisualObjectType Type { get; }

Property Value

PDFVisualObjectType
The type of the visual object.