Class CmxTextBlockSpec

Class CmxTextBlockSpec

Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs
Assembly: Aspose.Imaging.dll (25.2.0)

Represents info specified for text blocks.

public class CmxTextBlockSpec : ICmxObjectSpec

Inheritance

objectCmxTextBlockSpec

Implements

ICmxObjectSpec

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CmxTextBlockSpec()

public CmxTextBlockSpec()

Properties

CharLocations

Gets or sets the character locations.

public PointF[] CharLocations { get; set; }

Property Value

PointF[]

Font

Gets or sets the font.

public Font Font { get; set; }

Property Value

Font

Matrix

Gets or sets the transformation matrix.

public Matrix Matrix { get; set; }

Property Value

Matrix

ParagraphStyle

Gets or sets the paragraph style.

public CmxParagraphStyle ParagraphStyle { get; set; }

Property Value

CmxParagraphStyle

Text

Gets or sets the text.

public string Text { get; set; }

Property Value

string

Methods

Equals(CmxTextBlockSpec)

Check if objects are equal.

protected bool Equals(CmxTextBlockSpec other)

Parameters

other CmxTextBlockSpec

The other object.

Returns

bool

The equality comparison result.

Equals(object)

Check if objects are equal.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

The equality comparison result.

GetHashCode()

Get hash code of the current object.

public override int GetHashCode()

Returns

int

The hash code.

See Also

ICmxObjectSpec