EmfSmallTextOut

EmfSmallTextOut class

The EMR_SMALLTEXTOUT record outputs a string.

public sealed class EmfSmallTextOut : EmfDrawingRecordType

Constructors

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

Properties

NameDescription
Bounds { get; set; }Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
CChars { get; set; }Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. The string is NOT null-terminated.
ExScale { get; set; }Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.
EyScale { get; set; }Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
FuOptions { get; set; }Gets or sets a 32-bit unsigned integer specifying the text output options to use. These options are specified by one or a combination of values from the ExtTextOutOptions enumeration (section 2.1.11).
IGraphicsMode { get; set; }Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16).
Size { get; set; }Gets or sets the size of the record
TextString { get; set; }Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.
Type { get; set; }Gets or sets the type.
X { get; set; }Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
Y { get; set; }Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.

Remarks

If ETO_SMALL_CHARS is set in the fuOptions field, TextString contains 8-bit codes for characters, derived from the low bytes of 16-bit Unicode UTF16-LE character codes, in which the high byte is assumed to be 0. If ETO_NO_RECT is set in the fuOptions field, the Bounds field is not included in the record.

See Also