Class EmfPixelFormatDescriptor

Class EmfPixelFormatDescriptor

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging.dll (25.2.0)

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.

public sealed class EmfPixelFormatDescriptor : EmfObject

Inheritance

objectMetaObjectEmfObjectEmfPixelFormatDescriptor

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfPixelFormatDescriptor()

public EmfPixelFormatDescriptor()

Properties

BReserved

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 byte BReserved { get; set; }

Property Value

byte

CAccumAlphaBits

Gets or sets specifies the number of alpha bitplanes in the accumulation buffer

public byte CAccumAlphaBits { get; set; }

Property Value

byte

CAccumBits

Gets or sets specifies the total number of bitplanes in the accumulation buffer.

public byte CAccumBits { get; set; }

Property Value

byte

CAccumBlueBits

Gets or sets specifies the number of blue bitplanes in the accumulation buffer.

public byte CAccumBlueBits { get; set; }

Property Value

byte

CAccumGreenBits

Gets or sets specifies the number of green bitplanes in the accumulation

public byte CAccumGreenBits { get; set; }

Property Value

byte

CAccumRedBits

Gets or sets specifies the number of red bitplanes in the accumulation buffer

public byte CAccumRedBits { get; set; }

Property Value

byte

CAlphaBits

Gets or sets Specifies the number of alpha bitplanes in each RGBA color buffer

public byte CAlphaBits { get; set; }

Property Value

byte

CAlphaShift

Gets or sets Specifies the shift count for alpha bitplanes in each RGBA color buffer

public byte CAlphaShift { get; set; }

Property Value

byte

CAuxBuffers

Gets or sets specifies the number of auxiliary buffers. Auxiliary buffers are not supported

public byte CAuxBuffers { get; set; }

Property Value

byte

CBlueBits

Gets or sets Specifies the number of blue bitplanes in each RGBA color buffer.

public byte CBlueBits { get; set; }

Property Value

byte

CBlueShift

Gets or sets Specifies the shift count for blue bitplanes in each RGBA color buffer.

public byte CBlueShift { get; set; }

Property Value

byte

CColorBits

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 byte CColorBits { get; set; }

Property Value

byte

CDepthBits

Gets or sets specifies the depth of the depth (z-axis) buffer.

public byte CDepthBits { get; set; }

Property Value

byte

CGreenBits

Gets or sets Specifies the number of green bitplanes in each RGBA color buffer

public byte CGreenBits { get; set; }

Property Value

byte

CGreenShift

Gets or sets Specifies the shift count for green bitplanes in each RGBA color buffer.

public byte CGreenShift { get; set; }

Property Value

byte

CRedBits

Gets or sets Specifies the number of red bitplanes in each RGBA color buffer

public byte CRedBits { get; set; }

Property Value

byte

CRedShift

Gets or sets Specifies the shift count in bits for red bitplanes in each RGBA color buffer.

public byte CRedShift { get; set; }

Property Value

byte

CStencilBits

Gets or sets specifies the depth of the stencil buffer.

public byte CStencilBits { get; set; }

Property Value

byte

DwDamageMask

Gets or sets This field MAY be ignored

public int DwDamageMask { get; set; }

Property Value

int

DwFlags

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 int DwFlags { get; set; }

Property Value

int

DwLayerMask

Gets or sets This field MAY be ignored.

public int DwLayerMask { get; set; }

Property Value

int

DwVisibleMask

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 int DwVisibleMask { get; set; }

Property Value

int

ILayerType

Gets or sets This field MAY be ignored

public byte ILayerType { get; set; }

Property Value

byte

IPixelType

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 byte IPixelType { get; set; }

Property Value

byte

NSize

Gets or sets a 16-bit integer that specifies the size, in bytes, of this data structure.

public short NSize { get; set; }

Property Value

short

NVersion

Gets or sets a 16-bit integer that MUST be set to 0x0001.

public short NVersion { get; set; }

Property Value

short