BitmapBounds BitmapBounds BitmapBounds BitmapBounds BitmapBounds Struct

Definition

Specifies a bounding rectangle.

public : struct BitmapBounds
struct winrt::Windows::Graphics::Imaging::BitmapBounds
public struct BitmapBounds
Public Structure BitmapBounds
var bitmapBounds = {

   height: /* Your value */,

   width: /* Your value */,

   x: /* Your value */,

   y: /* Your value */

}
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Fields

Height Height Height Height Height

The Height, in pixels, of the bounding box

unsigned int Height;
unsigned int Height;
uint Height;
Height As uint;
var uint = bitmapBounds.height;
bitmapBounds.height = uint;

Width Width Width Width Width

The Width, in pixels, of the bounding box.

unsigned int Width;
unsigned int Width;
uint Width;
Width As uint;
var uint = bitmapBounds.width;
bitmapBounds.width = uint;

X X X X X

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

unsigned int X;
unsigned int X;
uint X;
X As uint;
var uint = bitmapBounds.x;
bitmapBounds.x = uint;

Y Y Y Y Y

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

unsigned int Y;
unsigned int Y;
uint Y;
Y As uint;
var uint = bitmapBounds.y;
bitmapBounds.y = uint;