ComponentOne Bitmap for WPF
PixelFormat Constructor

C1.WPF.DX.4 Assembly > C1.Util.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.
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

Reference

PixelFormat Structure
PixelFormat Members