Parent Previous Next

Property ContourHeight : integer – Public – ReadOnly

Read ContourHeight to obtain the height of a contoured figure.

In zoom mode, if trimmed or pixelated, a contoured figure might differ in height and width from the base width and height. For instance a small, trimmed ellipse might have a contour height of 0, though the real height is 2. Read this property to balance contour height an real height. For instance, in an OnEndDraw event handler:

while DrawObject.ContourHeight = 0
 DrawObject.Height := DrawObject.Height + 1; // Force a spatial contour

If the figure i not a contour, TIfgure.Height is returned.

Se also
Contoured property
ContourWidth property
ContourRect property