EmfRectangle Klasse
Inhalt
[
Ausblenden
]Summary: The EMR_RECTANGLE record draws a rectangle. The rectangle is outlined by using the current pen
and filled by using the current brush.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfRectangle
Inheritance: EmfDrawingRecordType
Constructors
| Name | Beschreibung |
|---|---|
| EmfRectangle() | Initialisiert eine neue Instanz der EmfRectangle Klasse. |
| EmfRectangle(source) | Initialisiert eine neue Instanz der EmfRectangle Klasse. |
Properties
| Name | Type | Access | Beschreibung |
|---|---|---|---|
| box | Rectangle | r/w | Liest oder setzt ein 128‑Bit WMF RectL‑Objekt, das in [MS-WMF] Abschnitt 2.2.2.19 angegeben ist und das inklusive‑inklusive Rechteck zum Zeichnen spezifiziert. |
| size | int | r/w | Liest oder setzt die Größe des Datensatzes |
| type | EmfRecordType | r/w | Ruft ab oder legt den Typ fest. |
Methods
| Name | Beschreibung |
|---|---|
| create_from_record(source) | Initialisiert eine neue Instanz der EmfRecord Klasse. |
| create_from_type(type) | Initialisiert eine neue Instanz der EmfRecord Klasse. |
Constructor: EmfRectangle()
EmfRectangle()
Initialisiert eine neue Instanz der EmfRectangle Klasse.
Constructor: EmfRectangle(source)
EmfRectangle(source)
Initialisiert eine neue Instanz der EmfRectangle Klasse.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| source | EmfRecord | Die Quelle. |
Method: create_from_record(source) [static]
create_from_record(source)
Initialisiert eine neue Instanz der EmfRecord Klasse.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| source | EmfRecord | Die Quelle. |
Returns
| Typ | Beschreibung |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initialisiert eine neue Instanz der EmfRecord Klasse.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| type | EmfRecordType | Der Datensatztyp. |
Returns
| Typ | Beschreibung |
|---|---|
| EmfRecord |