Share via


CroppedBitmap.SourceRect 屬性

定義

取得或設定點陣圖將裁剪成的矩形區域。

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

屬性值

Int32Rect

點陣圖將裁剪成的矩形區域。 預設為 Empty

備註

CroppedBitmap 將設定為 SourceRectInt32Rect.Empty 轉譯整個影像。

點陣圖界限內未完全位於點陣圖範圍的矩形將不會轉譯。

相依性屬性資訊

識別碼欄位 SourceRectProperty
設定為 的中繼資料屬性 true

適用於