Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / BitmapBrush1 Class / Create Method / Create(DeviceContext,Bitmap1,BitmapBrushProperties1) Method
an instance of DeviceContext
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(DeviceContext,Bitmap1,BitmapBrushProperties1) Method
    In This Topic
    Creates an BitmapBrush from the specified bitmap.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal deviceContext As DeviceContext, _
       ByVal bitmap As Bitmap1, _
       ByVal bitmapBrushProperties As BitmapBrushProperties1 _
    ) As BitmapBrush1

    Parameters

    deviceContext
    an instance of DeviceContext
    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