[]
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush Create(RenderTarget renderTarget, Bitmap bitmap)
Public Shared Function Create(renderTarget As RenderTarget, bitmap As Bitmap) As BitmapBrush
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| Bitmap | bitmap | The bitmap contents of the new brush. |
| Type | Description |
|---|---|
| BitmapBrush |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush Create(RenderTarget renderTarget, Bitmap bitmap, BitmapBrushProperties bitmapBrushProperties)
Public Shared Function Create(renderTarget As RenderTarget, bitmap As Bitmap, bitmapBrushProperties As BitmapBrushProperties) As BitmapBrush
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| Bitmap | bitmap | The bitmap contents of the new brush. |
| BitmapBrushProperties | bitmapBrushProperties | The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the Clamp horizontal and vertical extend modes and the Linear interpolation mode. |
| Type | Description |
|---|---|
| BitmapBrush |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush Create(RenderTarget renderTarget, Bitmap bitmap, BrushProperties brushProperties)
Public Shared Function Create(renderTarget As RenderTarget, bitmap As Bitmap, brushProperties As BrushProperties) As BitmapBrush
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| Bitmap | bitmap | The bitmap contents of the new brush. |
| BrushProperties | brushProperties | The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix. |
| Type | Description |
|---|---|
| BitmapBrush |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush Create(RenderTarget renderTarget, Bitmap bitmap, BitmapBrushProperties? bitmapBrushProperties, BrushProperties? brushProperties)
Public Shared Function Create(renderTarget As RenderTarget, bitmap As Bitmap, bitmapBrushProperties As BitmapBrushProperties?, brushProperties As BrushProperties?) As BitmapBrush
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| Bitmap | bitmap | The bitmap contents of the new brush. |
| BitmapBrushProperties? | bitmapBrushProperties | The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the Clamp horizontal and vertical extend modes and the Linear interpolation mode. |
| BrushProperties? | brushProperties | The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix. |
| Type | Description |
|---|---|
| BitmapBrush |