EmfPlusObject Class

Summary: The EmfPlusObject record specifies an object for use in graphics operations. The object definition
can span multiple records, which is indicated by the value of the Flags field.

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

Full Name: aspose.imaging.fileformats.emf.emfplus.records.EmfPlusObject

Inheritance: EmfPlusObjectRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
data_sizeintr/wGets or sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of
bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.
flagsshortr/wGets or sets a 16-bit unsigned integer that contains information for some records on how
the operation is to be performed and on the structure of the record.
is_continuableboolr/wGets or sets a value indicating whether this instance is continuable.
Indicates that the object definition continues on in the next EmfPlusObject
record. This flag is never set in the final record that defines the object.
object_dataEmfPlusGraphicsObjectTyper/wGets or sets an array of bytes that contains data for the type of object specified in
the Flags field. The content and format of the data can be different for each object type. See
the individual object definitions in section 2.2.1 for additional information.
object_idbyter/wGets or sets the object identifier.
The index in the EMF+ Object Table to associate with the object
created by this record. The value MUST be zero to 63, inclusive.
object_typeEmfPlusObjectTyper/wGets or sets the type of the object.
sizeintr/wGets or sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes
in the entire record, including the 12-byte record header and record-specific data.
total_object_sizeintr/wGets or sets the total size of the object.
If the record is continuable, when the continue bit is set, this field
will be present. Continuing objects have multiple EMF+ records starting with
EmfPlusContineudObjectRecord. Each EmfPlusContinuedObjectRecord will contain a
TotalObjectSize. Once TotalObjectSize number of bytes has been read, the next EMF+
record will not be treated as part of the continuing object.
typeEmfPlusRecordTyperGets a 16-bit unsigned integer that identifies the record type.

Constructor: EmfPlusObject(source)

 EmfPlusObject(source) 

Initializes a new instance of the EmfPlusObject class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.