ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / DeviceContext Class / CreateImageBrush Method

In This Topic
    CreateImageBrush Method
    In This Topic
    HRESULT ID2D1DeviceContext::CreateImageBrush([In, Optional] ID2D1Image* image,[In] const D2D1_IMAGE_BRUSH_PROPERTIES* imageBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1ImageBrush** imageBrush)
    Syntax
    'Declaration
     
    Public Function CreateImageBrush( _
       ByVal image As Image, _
       ByRef imageBrushProperties As ImageBrushProperties, _
       ByVal brushProperties As System.Nullable(Of BrushProperties) _
    ) As ImageBrush
    public ImageBrush CreateImageBrush( 
       Image image,
       ref ImageBrushProperties imageBrushProperties,
       System.Nullable<BrushProperties> brushProperties
    )

    Parameters

    image
    imageBrushProperties
    brushProperties
    See Also