CroppedBitmap.SourceRect 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定點陣裁切到的矩形區域。
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
屬性值
就是位圖裁切成的矩形區域。 預設值為 Empty。
備註
CroppedBitmap A 設定SourceRect為 的 Int32Rect.Empty 會渲染整張影像。
不完全在位圖範圍內的矩形將無法渲染。
相依財產資訊
| Item | 價值觀 |
|---|---|
| 識別碼欄位 | SourceRectProperty |
元資料屬性設為 true |
None |