SftPrintPreview/OCX 1.0

tagRECT Record/Structure

Softel vdm, Inc.

A rectangle with integer point dimensions.

Syntax       

VB.NET

Structure tagRECT

   Dim left As Integer

The location of the top/left corner of the rectangle

   Dim top As Integer

The location of the top/left corner of the rectangle

   Dim right As Integer

The location of the bottom/right corner of the rectangle

   Dim bottom As Integer

(null)

End Structure

VB

Type tagRECT

   left As Long

The location of the top/left corner of the rectangle

   top As Long

The location of the top/left corner of the rectangle

   right As Long

The location of the bottom/right corner of the rectangle

   bottom As Long

The location of the bottom/right corner of the rectangle

End Type

C#.NET

struct tagRECT {

   int left;

The location of the top/left corner of the rectangle

   int top;

The location of the top/left corner of the rectangle

   int right;

The location of the bottom/right corner of the rectangle

   int bottom;

The location of the bottom/right corner of the rectangle

};

VC++

struct tagRECT {

   long left;

The location of the top/left corner of the rectangle

   long top;

The location of the top/left corner of the rectangle

   long right;

The location of the bottom/right corner of the rectangle

   long bottom;

The location of the bottom/right corner of the rectangle

};

C

struct tagRECT {

   long left;

The location of the top/left corner of the rectangle

   long top;

The location of the top/left corner of the rectangle

   long right;

The location of the bottom/right corner of the rectangle

   long bottom;

The location of the bottom/right corner of the rectangle

};

Delphi

tagRECT = record

   left : Integer;

The location of the top/left corner of the rectangle

   top : Integer;

The location of the top/left corner of the rectangle

   right : Integer;

The location of the bottom/right corner of the rectangle

   bottom : Integer;

The location of the bottom/right corner of the rectangle

end;

Members

left

Defines the location of the top/left corner of the rectangle.

top

Defines the location of the top/left corner of the rectangle.

right

Defines the location of the bottom/right corner of the rectangle.

bottom

Defines the location of the bottom/right corner of the rectangle.


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com