BitmapBounds Struct

Definition

Specifies a bounding rectangle.

public value class BitmapBounds
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct BitmapBounds
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct BitmapBounds
var bitmapBounds = {
x : /* Your value */,
y : /* Your value */,
width : /* Your value */,
height : /* Your value */
}
Public Structure BitmapBounds
Inheritance
BitmapBounds
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This structure is used when setting the Bounds property of a BitmapTransform.

Fields

Height

The Height, in pixels, of the bounding box

Width

The Width, in pixels, of the bounding box.

X

The X coordinate, in pixels, of the top left corner of the bounding box.

Y

The Y coordinate, in pixels, of the top left corner of the bounding box.

Applies to

See also