EmfPixelFormatDescriptor Class
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.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfObject
      Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfPixelFormatDescriptor

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfPixelFormatDescriptor : EmfObject

The EmfPixelFormatDescriptor type exposes the following members.

Constructors
  NameDescription
Public methodEmfPixelFormatDescriptor
Initializes a new instance of the EmfPixelFormatDescriptor class
Properties
  NameDescription
Public propertyBReserved
Gets 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
Public propertyCAccumAlphaBits
Gets or sets specifies the number of alpha bitplanes in the accumulation buffer
Public propertyCAccumBits
Gets or sets specifies the total number of bitplanes in the accumulation buffer.
Public propertyCAccumBlueBits
Gets or sets specifies the number of blue bitplanes in the accumulation buffer.
Public propertyCAccumGreenBits
Gets or sets specifies the number of green bitplanes in the accumulation
Public propertyCAccumRedBits
Gets or sets specifies the number of red bitplanes in the accumulation buffer
Public propertyCAlphaBits
Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer
Public propertyCAlphaShift
Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer
Public propertyCAuxBuffers
Gets or sets specifies the number of auxiliary buffers. Auxiliary buffers are not supported
Public propertyCBlueBits
Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer.
Public propertyCBlueShift
Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.
Public propertyCColorBits
Gets 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
Public propertyCDepthBits
Gets or sets specifies the depth of the depth (z-axis) buffer.
Public propertyCGreenBits
Gets or sets Specifies the number of green bitplanes in each RGBA color buffer
Public propertyCGreenShift
Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.
Public propertyCRedBits
Gets or sets Specifies the number of red bitplanes in each RGBA color buffer
Public propertyCRedShift
Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.
Public propertyCStencilBits
Gets or sets specifies the depth of the stencil buffer.
Public propertyDwDamageMask
Gets or sets This field MAY be ignored
Public propertyDwFlags
Gets 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.
Public propertyDwLayerMask
Gets or sets This field MAY be ignored.
Public propertyDwVisibleMask
Gets 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.
Public propertyILayerType
Gets or sets This field MAY be ignored
Public propertyIPixelType
Gets 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.
Public propertyNSize
Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.
Public propertyNVersion
Gets or sets a 16-bit integer that MUST be set to 0x0001.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also