[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.DoXObject

Class DoXObject

Namespace
GrapeCity.Documents.Pdf.Operators
Assembly
GcDocs.Pdf.dll

PDF "Do" operator. Base class for DoFormXObject and DoImage.

public abstract class DoXObject : OperatorBase, IVisualOperator
Inheritance
object
DoXObject
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Fields

XObjectName

The name of the external object.

public PdfName XObjectName

Field Value

PdfName

Properties

Desc

Gets the operator's description.

public override string Desc { get; }

Property Value

string

Matrix

Gets the GraphicsState.Matrix.

public Matrix3x2 Matrix { get; }

Property Value

System.Numerics.Matrix3x2

Name

Gets the operator's PDF name.

public override string Name { get; }

Property Value

string

Methods

GetBounds()

Returns the bounds of IXObject.

public abstract RectangleF? GetBounds()

Returns

System.Drawing.RectangleF?

IsSame(OperatorBase)

Determines whether the provided operator is the same as the current operator.

public override bool IsSame(OperatorBase other)

Parameters

other OperatorBase

A OperatorBase object.

Returns

bool

true if the provided operator is the same as the current operator; otherwise, false.

TryGetNonstrokeColor(out Color)

Tries to interpret the non-stroke color of graphics state used by this operator as simple System.Drawing.Color.

public bool TryGetNonstrokeColor(out Color color)

Parameters

color System.Drawing.Color

Returns

bool