EmfPlusBitmap Class

Summary: The EmfPlusBitmap object specifies a bitmap that contains a graphics image.

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

Full Name: aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusBitmap

Inheritance: EmfPlusBaseImageData

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
EmfPlusBitmap()Initializes a new instance of the EmfPlusBitmap class

Properties

NameTypeAccessDescription
bitmap_dataEmfPlusBaseBitmapDatar/wGets or sets bitmap data
BitmapData (variable): Variable-length data that defines the bitmap data object specified in the Type field. The
content and format of the data can be different for every bitmap type.
heightintr/wGets or sets bitmap height
Height (4 bytes): A 32-bit signed integer that specifies the height in pixels of the area occupied by the bitmap.
If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.
pixel_formatEmfPlusPixelFormatr/wGets or sets pixel format
PixelFormat (4 bytes): A 32-bit unsigned integer that specifies the format of the pixels that make up the bitmap
image. The supported pixel formats are specified in the EmfPlusPixelFormat enumeration (section
2.1.1.25).
If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.
strideintr/wGets or sets stride of the image
Stride (4 bytes): A 32-bit signed integer that specifies the byte offset between the beginning of one scan-line and
the next. This value is the number of bytes per pixel, which is specified in the PixelFormat field, multiplied by
the width in pixels, which is specified in the Width field. The value of this field MUST be a multiple of four.
If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.
typeEmfPlusBitmapDataTyper/wGets or sets type of the image
Type (4 bytes): A 32-bit unsigned integer that specifies the type of data in the BitmapData field. This value MUST
be defined in the EmfPlusBitmapDataType enumeration (section 2.1.1.2).
widthintr/wGets or sets image Width
Width (4 bytes): A 32-bit signed integer that specifies the width in pixels of the area occupied by the bitmap.
If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

Constructor: EmfPlusBitmap()

 EmfPlusBitmap() 

Initializes a new instance of the EmfPlusBitmap class