Skip to content

# PDFFormXObjectVisualObject

Namespace: O2S.Components.PDF4NET.Content

Defines a visual object that represents a form XObject displayed on the PDF page.

    public class PDFFormXObjectVisualObject : PDFVisualObject

Inheritance Object → PDFVisualObject → PDFFormXObjectVisualObject

## 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 form XObject in visual coordinates.

    public PDFDisplayRectangle DisplayBounds { get; }

Property Value

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

### FormXObjectCorners

Gets the corners of the form XObject.

    public PDFPoint[] FormXObjectCorners { get; internal set; }

Property Value

PDFPoint[]
The coordinates on the page of the form XObject's corners.

Remarks

The order of the corners in the array is the following: lower left, lower right, upper right, upper left.

### FormXObjectID

Gets the form XObject ID.

    public string FormXObjectID { get; internal set; }

Property Value

String
The ID used to identify the form XObject in the resources dictionary.

### 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.

### Height

Get the form XObject height.

    public double Height { get; internal set; }

Property Value

Double
The height of the form XObject.

### 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.

### TransparencyGroup

Gets the transparency group.

    public PDFGroupXObject TransparencyGroup { get; internal set; }

Property Value

PDFGroupXObject
The transparency group defined on the form XObject.

### Type

Gets the object type.

    public PDFVisualObjectType Type { get; }

Property Value

PDFVisualObjectType
The type of the visual object.

### VisualObjects

Gets the list of visual objects included in this form XObject.

    public PDFVisualObjectCollection VisualObjects { get; internal set; }

Property Value

PDFVisualObjectCollection
List of visual objects that compose this form XObject.

### Width

Get the form XObject width.

    public double Width { get; internal set; }

Property Value

Double
The width of the form XObject.