EmfSmallTextOut Class

Summary: The EMR_SMALLTEXTOUT record outputs a string.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSmallTextOut

Inheritance: EmfDrawingRecordType

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
boundsRectangler/wGets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that
specifies the bounding rectangle in device units.
c_charsintr/wGets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the
string. The string is NOT null-terminated.
ex_scalefloatr/wGets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.
ey_scalefloatr/wGets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
fu_optionsEmfExtTextOutOptionsr/wGets 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).
graphics_modeEmfGraphicsModer/wGets or sets a 32-bit unsigned integer specifying the graphics mode, from the
GraphicsMode enumeration (section 2.1.16).
sizeintr/wGets or sets the size of the record
text_stringstringr/wGets 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.
typeEmfRecordTyper/wGets or sets the type.
xintr/wGets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
yintr/wGets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfSmallTextOut(source)

 EmfSmallTextOut(source) 

Initializes a new instance of the EmfSmallTextOut class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord