Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / PixelFormat Structure / PixelFormat Constructor
A value that specifies the size and arrangement of channels in each pixel.
A value that specifies whether the alpha channel is using pre-multiplied alpha, straight alpha, whether it should be ignored and considered opaque, or whether it is unknown.

In This Topic
    PixelFormat Constructor
    In This Topic
    Initializes a new instance of the PixelFormat struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal format As Format, _
       ByVal alphaMode As AlphaMode _
    )
    public PixelFormat( 
       Format format,
       AlphaMode alphaMode
    )

    Parameters

    format
    A value that specifies the size and arrangement of channels in each pixel.
    alphaMode
    A value that specifies whether the alpha channel is using pre-multiplied alpha, straight alpha, whether it should be ignored and considered opaque, or whether it is unknown.
    See Also