EmfPixelFormatDescriptor Class

Summary: The PixelFormatDescriptor object can be used in EMR_HEADER records (section 2.3.4.2) to specify the pixel format of the output surface for the playback device context.

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

Full Name: aspose.imaging.fileformats.emf.emf.objects.EmfPixelFormatDescriptor

Inheritance: EmfObject

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
b_reservedbyter/wGets or sets specifies the number of overlay and underlay planes. Bits 0 through 3 specify
up to 15 overlay planes and bits 4 through 7 specify up to 15 underlay planes
c_accum_alpha_bitsbyter/wGets or sets specifies the number of alpha bitplanes in the accumulation buffer
c_accum_bitsbyter/wGets or sets specifies the total number of bitplanes in the accumulation buffer.
c_accum_blue_bitsbyter/wGets or sets specifies the number of blue bitplanes in the accumulation buffer.
c_accum_green_bitsbyter/wGets or sets specifies the number of green bitplanes in the accumulation
c_accum_red_bitsbyter/wGets or sets specifies the number of red bitplanes in the accumulation buffer
c_alpha_bitsbyter/wGets or sets Specifies the number of alpha bitplanes in each RGBA color buffer
c_alpha_shiftbyter/wGets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer
c_aux_buffersbyter/wGets or sets specifies the number of auxiliary buffers. Auxiliary buffers are not supported
c_blue_bitsbyter/wGets or sets Specifies the number of blue bitplanes in each RGBA color buffer.
c_blue_shiftbyter/wGets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.
c_color_bitsbyter/wGets or sets the number of bits per pixel for RGBA pixel types, excluding the alpha bitplanes. For color table pixels, it is the size of each color table index
c_depth_bitsbyter/wGets or sets specifies the depth of the depth (z-axis) buffer.
c_green_bitsbyter/wGets or sets Specifies the number of green bitplanes in each RGBA color buffer
c_green_shiftbyter/wGets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.
c_red_bitsbyter/wGets or sets Specifies the number of red bitplanes in each RGBA color buffer
c_red_shiftbyter/wGets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.
c_stencil_bitsbyter/wGets or sets specifies the depth of the stencil buffer.
dw_damage_maskintr/wGets or sets This field MAY be ignored
dw_flagsintr/wGets or sets bit flags that specify properties of the pixel buffer that is used
for output to the drawing surface. These properties are not all mutually
exclusive; combinations of flags are allowed, except where noted otherwise.
dw_layer_maskintr/wGets or sets This field MAY be ignored.
dw_visible_maskintr/wGets or sets specifies the transparent color or index of an underlay plane. When the pixel
type is RGBA, dwVisibleMask is a transparent RGB color value. When the pixel
type is color index, it is a transparent index value.
layer_typebyter/wGets or sets This field MAY be ignored
n_sizeshortr/wGets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.
n_versionshortr/wGets or sets a 16-bit integer that MUST be set to 0x0001.
pixel_typebyter/wGets or sets the type of pixel data
PFD_TYPE_RGBA 0x00 The pixel format is RGBA.
PFD_TYPE_COLORINDEX 0x01 Each pixel is an index in a color table.

Constructor: EmfPixelFormatDescriptor()

 EmfPixelFormatDescriptor() 

Initializes a new instance of the EmfPixelFormatDescriptor class