EmfPlusImage

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusGraphicsObjectType

public final class EmfPlusImage extends EmfPlusGraphicsObjectType

The EmfPlusImage object specifies a graphics image in the form of a bitmap or metafile.

Constructors

ConstructorDescription
EmfPlusImage()

Methods

MethodDescription
getImageData()Gets or sets the Image data Variable-length data that defines the image data specified in the Type field.
setImageData(EmfPlusBaseImageData value)Gets or sets the Image data Variable-length data that defines the image data specified in the Type field.
getType()Gets or sets image type A 32-bit unsigned integer that specifies the type of data in the ImageData field.
setType(int value)Gets or sets image type A 32-bit unsigned integer that specifies the type of data in the ImageData field.

EmfPlusImage()

public EmfPlusImage()

getImageData()

public EmfPlusBaseImageData getImageData()

Gets or sets the Image data Variable-length data that defines the image data specified in the Type field. The content and format of the data can be different for every image type.

Returns: EmfPlusBaseImageData

setImageData(EmfPlusBaseImageData value)

public void setImageData(EmfPlusBaseImageData value)

Gets or sets the Image data Variable-length data that defines the image data specified in the Type field. The content and format of the data can be different for every image type.

Parameters:

ParameterTypeDescription
valueEmfPlusBaseImageData

getType()

public int getType()

Gets or sets image type A 32-bit unsigned integer that specifies the type of data in the ImageData field. This value MUST be defined in the ImageDataType enumeration (section 2.1.1.15).

Returns: int

setType(int value)

public void setType(int value)

Gets or sets image type A 32-bit unsigned integer that specifies the type of data in the ImageData field. This value MUST be defined in the ImageDataType enumeration (section 2.1.1.15).

Parameters:

ParameterTypeDescription
valueint