EmfFormat

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject

public final class EmfFormat extends EmfObject

The EmrFormat object contains information that identifies the format of image data in an EMR_COMMENT_MULTIFORMATS record(section 2.3.3.4.3).

Constructors

ConstructorDescription
EmfFormat()

Methods

MethodDescription
getSignature()Gets or sets a 32-bit unsigned integer that specifies the format of the image data.
setSignature(int value)Gets or sets a 32-bit unsigned integer that specifies the format of the image data.
getVersion()Gets or sets a 32-bit unsigned integer that specifies the format version number.
setVersion(int value)Gets or sets a 32-bit unsigned integer that specifies the format version number.
getSizeData()Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes
setSizeData(int value)Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes
getOffData()Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4).
setOffData(int value)Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4).

EmfFormat()

public EmfFormat()

getSignature()

public int getSignature()

Gets or sets a 32-bit unsigned integer that specifies the format of the image data. This value MUST be in the FormatSignature enumeration (section 2.1.14).

Returns: int

setSignature(int value)

public void setSignature(int value)

Gets or sets a 32-bit unsigned integer that specifies the format of the image data. This value MUST be in the FormatSignature enumeration (section 2.1.14).

Parameters:

ParameterTypeDescription
valueint

getVersion()

public int getVersion()

Gets or sets a 32-bit unsigned integer that specifies the format version number. If the Signature field specifies encapsulated PostScript (EPS), this value MUST be 0x00000001; otherwise, this value MUST be ignored

Returns: int

setVersion(int value)

public void setVersion(int value)

Gets or sets a 32-bit unsigned integer that specifies the format version number. If the Signature field specifies encapsulated PostScript (EPS), this value MUST be 0x00000001; otherwise, this value MUST be ignored

Parameters:

ParameterTypeDescription
valueint

getSizeData()

public int getSizeData()

Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes

Returns: int

setSizeData(int value)

public void setSizeData(int value)

Gets or sets a 32-bit unsigned integer that specifies the size of the data in bytes

Parameters:

ParameterTypeDescription
valueint

getOffData()

public int getOffData()

Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4). The offset MUST be 32-bit aligned.

Returns: int

setOffData(int value)

public void setOffData(int value)

Gets or sets 32-bit unsigned integer that specifies the offset to the data from the start of the identifier field in an EMR_COMMENT_PUBLIC record (section 2.3.3.4). The offset MUST be 32-bit aligned.

Parameters:

ParameterTypeDescription
valueint