XPS_RECT structure

Describes the width, height, and location of a rectangle.

Syntax

typedef struct __MIDL___MIDL_itf_xpsobjectmodel_0000_0000_0019 {
  FLOAT x;
  FLOAT y;
  FLOAT width;
  FLOAT height;
} XPS_RECT;

Members

x

The x-coordinate of the rectangle's left side.

y

The y-coordinate of the rectangle's top side.

width

A non-negative value that represents the object's size in the horizontal (x) dimension.

height

A non-negative value that represents the object's size in the vertical (y) dimension.

Remarks

The measurement units depend on the context and are not specified in the structure.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header xpsobjectmodel.h

See Also

XML Paper Specification