Class EmfPolyTextOutA
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_POLYTEXTOUTA record draws one or more ASCII text strings using the current font and text colors.
public sealed class EmfPolyTextOutA : EmfDrawingRecordType
{
public short wPoints { get; set; }
public PointF[] apoints { get; set; }
public short wFont { get; set; }
public string szText { get; set; }
}
For better readability, you can also consider adding line breaks after commas in multi-element properties:
public sealed class EmfPolyTextOutA : EmfDrawingRecordType
{
public short wPoints { get; set; }
public PointF[] apoints; // line break added for better readability
public short wFont { get; set; }
public string szText { get; set; }
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfDrawingRecordType ← EmfPolyTextOutA
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 theplayback device context.EMR_POLYTEXTOUTA SHOULD be emulated with a series of EMR_EXTTEXTOUTW records (section2.3.5.7), one per string. This requires the ASCII text string in each EmrText object to be convertedto 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 outputstrings in 8-bit ASCII characters, with text attributes, and spacing values. The number ofEmrText 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 thebounding rectangle in device units.
public Rectangle Bounds
{
get;
set;
}
Property Value
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
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
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;
}