ComponentOne Bitmap for UWP
C1.UWP.DX 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 System.Nullable(Of Size2F), _
       ByVal desiredPixelSize As System.Nullable(Of Size2L), _
       ByVal desiredFormat As System.Nullable(Of PixelFormat), _
       ByVal options As CompatibleRenderTargetOptions _
    ) As BitmapRenderTarget
    public BitmapRenderTarget CreateCompatibleRenderTarget( 
       System.Nullable<Size2F> desiredSize,
       System.Nullable<Size2L> desiredPixelSize,
       System.Nullable<PixelFormat> desiredFormat,
       CompatibleRenderTargetOptions options
    )

    Parameters

    desiredSize
    desiredPixelSize
    desiredFormat
    options
    See Also