ImageDrawing Constructors

Definition

Initializes a new instance of the ImageDrawing class.

Overloads

ImageDrawing()

Initializes a new instance of the ImageDrawing class.

ImageDrawing(ImageSource, Rect)

Initializes a new instance of the ImageDrawing class that has the specified target ImageSource and Rect.

ImageDrawing()

Initializes a new instance of the ImageDrawing class.

C#
public ImageDrawing ();

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ImageDrawing(ImageSource, Rect)

Initializes a new instance of the ImageDrawing class that has the specified target ImageSource and Rect.

C#
public ImageDrawing (System.Windows.Media.ImageSource imageSource, System.Windows.Rect rect);

Parameters

imageSource
ImageSource

Source of the image that is drawn.

rect
Rect

Defines the rectangular area in which the image is drawn.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9