ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct2D Namespace / RenderTarget Class / CreateCompatibleRenderTarget Method

In This Topic
    CreateCompatibleRenderTarget Method
    In This Topic
    HRESULT ID2D1RenderTarget::CreateCompatibleRenderTarget([In, Optional] const D2D_SIZE_F* desiredSize,[In, Optional] const D2D_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[In] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out, Fast] ID2D1BitmapRenderTarget** bitmapRenderTarget)
    Syntax
    'Declaration
     
    Public Function CreateCompatibleRenderTarget( _
       ByVal desiredSize As Nullable(Of Size2F), _
       ByVal desiredPixelSize As Nullable(Of Size2L), _
       ByVal desiredFormat As Nullable(Of PixelFormat), _
       ByVal options As CompatibleRenderTargetOptions _
    ) As BitmapRenderTarget

    Parameters

    desiredSize
    desiredPixelSize
    desiredFormat
    options
    See Also