Class EmfSmallTextOut
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_SMALLTEXTOUT record outputs a string.
public sealed class EmfSmallTextOut : EmfDrawingRecordType
{
public ushort nPitchAndFamily;
public byte bStyle;
public short xLeftMin;
public short yBottomMin;
public short xRightMax;
public short yTopMax;
public ushort Reserved1;
public ushort Reserved2;
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfDrawingRecordType ← EmfSmallTextOut
Inherited Members
EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
If ETO_SMALL_CHARS is set in the fuOptions field, TextString contains 8-bit codes forcharacters, derived from the low bytes of 16-bit Unicode UTF16-LE character codes, in which thehigh 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.
Constructors
EmfSmallTextOut(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSmallTextOut class.
public EmfSmallTextOut(EmfRecord source)
{
}
Parameters
source
EmfRecord
The source.
Properties
Bounds
Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) thatspecifies the bounding rectangle in device units.
public Rectangle Bounds
{
get;
set;
}
Property Value
CChars
Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in thestring. The string is NOT null-terminated.
public int CChars
{
get;
set;
}
Property Value
ExScale
Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.
public float ExScale
{
get;
set;
}
Property Value
EyScale
Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
public float EyScale
{
get;
set;
}
Property Value
FuOptions
Gets or sets a 32-bit unsigned integer specifying the text output options to use. Theseoptions are specified by one or a combination of values from the ExtTextOutOptionsenumeration (section 2.1.11).
public EmfExtTextOutOptions FuOptions
{
get;
set;
}
Property Value
IGraphicsMode
Gets or sets a 32-bit unsigned integer specifying the graphics mode, from theGraphicsMode enumeration (section 2.1.16).
public EmfGraphicsMode IGraphicsMode
{
get;
set;
}
Property Value
TextString
Gets or sets a variable-length string that contains the text string to draw, in either8-bit or 16-bit character codes, according to the value of the fuOptions field.
public string TextString
{
get;
set;
}
Property Value
X
Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
public int X
{
get;
set;
}
Property Value
Y
Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.
public int Y
{
get;
set;
}