public class EmfRecord extends MetaObject implements com.aspose.imaging_internal.fileformats.emf.IRecord
Base class for EMF records All EMF records MUST have a length that is a multiple of 4 bytes. This is depicted in the generic structures of the preceding EMF record types by including AlignmentPadding fields where appropriate at the ends of these structures. The contents of AlignmentPadding fields MUST always be ignored. For brevity, these fields are not shown in every individual EMF record definition.
Constructor and Description |
---|
EmfRecord()
Initializes a new instance of the
EmfRecord class. |
EmfRecord(EmfRecord source)
Initializes a new instance of the
EmfRecord class. |
EmfRecord(int type)
Initializes a new instance of the
EmfRecord class. |
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Gets the size of the record
|
int |
getType()
Gets the type.
|
void |
setSize(int value)
Sets the size of the record
|
void |
setType(int value)
Sets the type.
|
public EmfRecord()
Initializes a new instance of the EmfRecord
class.
public EmfRecord(EmfRecord source)
Initializes a new instance of the EmfRecord
class.
source
- The source.public EmfRecord(int type)
Initializes a new instance of the EmfRecord
class.
type
- The record type.public int getType()
Gets the type.
public void setType(int value)
Sets the type.
value
- The type.public int getSize()
Gets the size of the record
getSize
in interface com.aspose.imaging_internal.fileformats.emf.IRecord
public void setSize(int value)
Sets the size of the record
setSize
in interface com.aspose.imaging_internal.fileformats.emf.IRecord