Visit Gigasoft's Web Site
ProEssentials v6 Help

GetRectTA Method

*Within client side VBScript within a web page, use GetRectTAEx

 

Scope: All ProEssentials Interfaces

 

GetRectTA(pnLeft As Integer, pnTop As Integer, pnRight As Integer, pnBottom As Integer)

 

Parameter

Description

pnLeft

Variable to store left coordinate.

pnTop

Variable to store top coordinate.

pnRight

Variable to store right coordinate.

pnBottom

Variable to store bottom coordinate.

 

This function reads a RECT structure describing the location (in device/pixel coordinates with top left as (0,0)) of a table annotation when TALocation is InsidePixelUnits. Only call this property after the chart has been initialized and visible. Usually read after a TAMoved event caused by the user moving or sizing the table annotation. Set WorkingTable prior to calling to identify which table's coordinates to read.

  

Comments

See Also:TALocation, OCX Methods, PEP_rectTA

 

Visual Basic 6 Example

Dim nLeft As Integer

Dim nTop As Integer

Dim nRight As Integer

Dim nBottom As Integer

Pego1.WorkingTable = 0 'find the coordinates of first table

Pego1.GetRectTA nLeft, nTop, nRight, nBottom