BitmapImage.SourceRect Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

member SourceRect : Int32Rect with get, set

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: