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

プロパティ値

ビットマップがトリミングされる四角形の領域。 既定値は Empty です。

注釈

CroppedBitmapSourceRect に設定したInt32Rect.Emptyは、イメージ全体をレンダリングします。

ビットマップの境界内に完全に含まれていない四角形はレンダリングされません。

依存関係プロパティ情報

品目 価値
識別子フィールド SourceRectProperty
に設定されたメタデータ プロパティ true None

適用対象