[]
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap)
Public Shared Function Create(deviceContext As DeviceContext, bitmap As Bitmap1) As BitmapBrush1
| Type | Name | Description |
|---|---|---|
| DeviceContext | deviceContext | an instance of DeviceContext |
| Bitmap1 | bitmap | The bitmap contents of the new brush. |
| Type | Description |
|---|---|
| BitmapBrush1 |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1 bitmapBrushProperties)
Public Shared Function Create(deviceContext As DeviceContext, bitmap As Bitmap1, bitmapBrushProperties As BitmapBrushProperties1) As BitmapBrush1
| Type | Name | Description |
|---|---|---|
| DeviceContext | deviceContext | an instance of DeviceContext |
| Bitmap1 | bitmap | The bitmap contents of the new brush. |
| BitmapBrushProperties1 | 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 |
|---|---|
| BitmapBrush1 |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BrushProperties brushProperties)
Public Shared Function Create(deviceContext As DeviceContext, bitmap As Bitmap1, brushProperties As BrushProperties) As BitmapBrush1
| Type | Name | Description |
|---|---|---|
| DeviceContext | deviceContext | an instance of DeviceContext |
| Bitmap1 | 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 |
|---|---|
| BitmapBrush1 |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1? bitmapBrushProperties, BrushProperties? brushProperties)
Public Shared Function Create(deviceContext As DeviceContext, bitmap As Bitmap1, bitmapBrushProperties As BitmapBrushProperties1?, brushProperties As BrushProperties?) As BitmapBrush1
| Type | Name | Description |
|---|---|---|
| DeviceContext | deviceContext | an instance of DeviceContext |
| Bitmap1 | bitmap | The bitmap contents of the new brush. |
| BitmapBrushProperties1? | 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 |
|---|---|
| BitmapBrush1 |