tagRECT

See Also: Integer, Declaring Variables, Struct

 

Purpose

tagRECT is a structured type used for positioning COM objects. It defines the coordinates of the upper-left and lower-right corners of a rectangle.

 

Type Declaration

Struct tagRECT

    Integer left

    Integer top

    Integer right

    Integer bottom

End_Struct

 

Struct Members

left

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

top

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

right

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

bottom

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

 

Syntax

Use cCrystalActiveXReportViewer.pkg

:

tagRECT {variableName}

 

Declaring variables

To declare tagRECT variables, use the name of the type (tagRect) followed by the variable name.

tagRECT MyTagRect

See struct variables for more details of instantiating struct types.