EmfSmallTextOut Class
Contents
[
Hide
]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
Constructors
Name | Description |
---|---|
EmfSmallTextOut(source) | Initializes a new instance of the EmfSmallTextOut class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
bounds | Rectangle | r/w | 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. |
c_chars | int | r/w | Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. The string is NOT null-terminated. |
ex_scale | float | r/w | Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction. |
ey_scale | float | r/w | Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction. |
fu_options | EmfExtTextOutOptions | r/w | 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). |
graphics_mode | EmfGraphicsMode | r/w | Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16). |
size | int | r/w | Gets or sets the size of the record |
text_string | string | r/w | 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 | EmfRecordType | r/w | Gets or sets the type. |
x | int | r/w | Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string. |
y | int | r/w | Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |