Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCharting > RSChartPanel > Classes > TRSChartLegend > Methods

TRSChartLegend.BoundsRect(TCanvas,TCanvasRect,TCanvasPixel) Method

Scroll Prev Top Next More

Returns the rectangle where the legend will be located on the Canvas. It also returns LongestWidth, which contains the longest text width of any label in the Lines property. What rectangle the BoundsRect method returns is dependent on the ARect parameter first of all, the labels being displayed in Lines, then the Align property, the MaxWidthPct, MaxRows, and Overlay properties.

Use the BoundsRect method to determine where the legend will draw itself.

Namespace: RSChartPanel



Type: TCanvas


Type: TCanvasRect


Type: TCanvasPixel

Return Value

Type: TCanvasRect

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb