Gets the position in section coordinates (twips, relative to the top of the section).

Namespace:  C1.Win.C1ReportDesigner
Assembly:  C1.Win.C1ReportDesigner.2 (in C1.Win.C1ReportDesigner.2.dll)

Syntax

C#
public double SectionY { get; }
Visual Basic
Public ReadOnly Property SectionY As Double
	Get

Remarks

This value takes into account the current scroll position.

Examples

The code below takes a point in client coordinates and obains the y position relative to the section at that point.
Copy CodeC#
HitTestInfo hti = c1rd.HitTest(clientX, clientY);
double sectionY = hti.SectionY; // y position in section coordinates (in twips)

See Also