BitmapImage.SourceRect Property

 

Gets or sets the rectangle that is used as the source of the BitmapImage.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

Public Property SourceRect As Int32Rect

Property Value

Type: System.Windows.Int32Rect

The rectangle that is used as the source of the BitmapImage. The default is Empty.

Identifier field

SourceRectProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: