Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / RenderTarget Class / Create Method
an instance of Factory
The dxgi surface to bind this render target to
The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.

In This Topic
    Create Method (RenderTarget)
    In This Topic
    Creates a render target that draws to a DirectX Graphics Infrastructure (DXGI) surface.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal factory As Factory, _
       ByVal dxgiSurface As Surface, _
       ByRef properties As RenderTargetProperties _
    ) As RenderTarget
    public static RenderTarget Create( 
       Factory factory,
       Surface dxgiSurface,
       ref RenderTargetProperties properties
    )

    Parameters

    factory
    an instance of Factory
    dxgiSurface
    The dxgi surface to bind this render target to
    properties
    The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
    See Also