Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / RenderTargetProperties Structure / RenderTargetProperties Constructor / RenderTargetProperties Constructor(PixelFormat)
The pixel format and alpha mode of the render target. You can use the {{D2D1::PixelFormat}} function to create a pixel format that specifies that Direct2D should select the pixel format and alpha mode for you. For a list of pixel formats and alpha modes supported by each render target, see {{Supported Pixel Formats and Alpha Modes}}.

In This Topic
    RenderTargetProperties Constructor(PixelFormat)
    In This Topic
    Initializes a new instance of the RenderTargetProperties struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal pixelFormat As PixelFormat _
    )
    public RenderTargetProperties( 
       PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The pixel format and alpha mode of the render target. You can use the {{D2D1::PixelFormat}} function to create a pixel format that specifies that Direct2D should select the pixel format and alpha mode for you. For a list of pixel formats and alpha modes supported by each render target, see {{Supported Pixel Formats and Alpha Modes}}.
    See Also