XPS_RECT structure

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

Syntax


typedef struct {
  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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification

 

 

Show: