Class EmfPolyTextOutA

Class EmfPolyTextOutA

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)

The EMR_POLYTEXTOUTA record draws one or more ASCII text strings using the current font and text colors.

public sealed class EmfPolyTextOutA : EmfDrawingRecordType

Inheritance

objectMetaObjectEmfRecordEmfDrawingRecordTypeEmfPolyTextOutA

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

The font and text colors used for output are specified by properties in the current state of the playback device context. EMR_POLYTEXTOUTA SHOULD be emulated with a series of EMR_EXTTEXTOUTW records (section 2.3.5.7), one per string. This requires the ASCII text string in each EmrText object to be converted to Unicode UTF16-LE encoding.

Constructors

EmfPolyTextOutA(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfPolyTextOutA class.

public EmfPolyTextOutA(EmfRecord source)

Parameters

source EmfRecord

The source.

EmfPolyTextOutA()

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfPolyTextOutA class.

public EmfPolyTextOutA()

Properties

AEmrText

Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 8-bit ASCII characters, with text attributes, and spacing values. The number of EmrText objects is specified by cStrings.

public EmfText[] AEmrText { get; set; }

Property Value

EmfText[]

Bounds

Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounding rectangle in device units.

public Rectangle Bounds { get; set; }

Property Value

Rectangle

ExScale

Gets or sets a 32-bit floating-point value that specifies the X scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.

public float ExScale { get; set; }

Property Value

float

EyScale

Gets or sets a 32-bit floating-point value that specifies the Y scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.

public float EyScale { get; set; }

Property Value

float

IGraphicsMode

Gets or sets a 32-bit unsigned integer that specifies the current graphics mode, from the GraphicsMode enumeration (section 2.1.16).

public EmfGraphicsMode IGraphicsMode { get; set; }

Property Value

EmfGraphicsMode