CroppedBitmap.SourceRect Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the rectangular area that the bitmap is cropped to.
public:
property System::Windows::Int32Rect SourceRect { System::Windows::Int32Rect get(); void set(System::Windows::Int32Rect value); };
public System.Windows.Int32Rect SourceRect { get; set; }
member this.SourceRect : System.Windows.Int32Rect with get, set
Public Property SourceRect As Int32Rect
Property Value
The rectangular area that the bitmap is cropped to. The default is Empty.
Remarks
A CroppedBitmap with a SourceRect set to Int32Rect.Empty will render the entire image.
A rectangle that is not fully within the bounds of the bitmap will not render.
Dependency Property Information
Identifier field | SourceRectProperty |
Metadata properties set to true |
None |
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.