Udostępnij za pośrednictwem


BitmapSize Struct

Definition

Represents the size of a bitmap, in pixels.

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

Windows requirements

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

Fields

Height

The height of a bitmap, in pixels.

Width

The width of a bitmap, in pixels.

Applies to