Class EmfPolyTextOutA

EmfPolyTextOutA class

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

public sealed class EmfPolyTextOutA : EmfDrawingRecordType

Constructors

NameDescription
EmfPolyTextOutA()Initializes a new instance of the EmfPolyTextOutA class.
EmfPolyTextOutA(EmfRecord)Initializes a new instance of the EmfPolyTextOutA class.

Properties

NameDescription
AEmrText { get; set; }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.
Bounds { get; set; }Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounding rectangle in device units.
ExScale { get; set; }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.
EyScale { get; set; }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.
IGraphicsMode { get; set; }Gets or sets a 32-bit unsigned integer that specifies the current graphics mode, from the GraphicsMode enumeration (section 2.1.16).
Size { get; set; }Gets or sets the size of the record
Type { get; set; }Gets or sets the type.

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.

See Also