EmfSetTextAlign Class
Contents
[
Hide
]Summary: The EMR_SETTEXTALIGN record specifies text alignment.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSetTextAlign
Inheritance: EmfStateRecordType
Constructors
| Name | Description |
|---|---|
| EmfSetTextAlign() | Initializes a new instance of the EmfSetTextAlign class. |
| EmfSetTextAlign(source) | Initializes a new instance of the EmfSetTextAlign class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| size | int | r/w | Gets or sets the size of the record |
| text_alignment_mode | int | r/w | Gets or sets a 32-bit unsigned integer that specifies text alignment by using a mask of text alignment flags. These are either WmfTextAlignmentModeFlags ([MS-WMF] section 2.1.2.3) for text with a horizontal baseline, or WmfVerticalTextAlignmentModeFlags ([MS-WMF] section 2.1.2.4) for text with a vertical baseline. Only one value can be chosen from those that affect horizontal and vertical alignment. |
| type | EmfRecordType | r/w | Gets or sets the type. |
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: EmfSetTextAlign()
EmfSetTextAlign()
Initializes a new instance of the EmfSetTextAlign class.
Constructor: EmfSetTextAlign(source)
EmfSetTextAlign(source)
Initializes a new instance of the EmfSetTextAlign 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 |