ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / BitmapBrush Class / Create Method / Create(RenderTarget,Bitmap,BitmapBrushProperties) Method
an instance of RenderTarget
The bitmap contents of the new brush.
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamp horizontal and vertical extend modes and the BitmapInterpolationMode.Linear interpolation mode.

In This Topic
    Create(RenderTarget,Bitmap,BitmapBrushProperties) Method
    In This Topic
    Creates an BitmapBrush from the specified bitmap.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal bitmap As Bitmap, _
       ByVal bitmapBrushProperties As BitmapBrushProperties _
    ) As BitmapBrush

    Parameters

    renderTarget
    an instance of RenderTarget
    bitmap
    The bitmap contents of the new brush.
    bitmapBrushProperties
    The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the ExtendMode.Clamp horizontal and vertical extend modes and the BitmapInterpolationMode.Linear interpolation mode.
    See Also