Share via


NativeMethods.RECT Struct

Definition

Defines the coordinates of the upper-left and lower-right corners of a rectangle.

public: value class NativeMethods::RECT
public struct NativeMethods.RECT
type NativeMethods.RECT = struct
Public Structure NativeMethods.RECT
Inheritance
NativeMethods.RECT

Fields

Bottom

The y-coordinate of the lower-right corner of the rectangle.

Left

The x-coordinate of the upper-left corner of the rectangle.

Right

The x-coordinate of the lower-right corner of the rectangle.

Top

The y-coordinate of the upper-left corner of the rectangle.

Properties

Height

Gets the height of the rectangle.

Width

Gets the width of the rectangle.

Applies to