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を SourceRect に設定したInt32Rect.Emptyは、イメージ全体をレンダリングします。
ビットマップの境界内に完全に含まれていない四角形はレンダリングされません。
依存関係プロパティ情報
| 品目 | 価値 |
|---|---|
| 識別子フィールド | SourceRectProperty |
に設定されたメタデータ プロパティ true |
None |