ICanvas.StretchDrawZ
ICanvas

procedure StretchDrawZ(Left, Top, Right, Bottom: Integer; Const Image: IPicture; Z: Integer);

Type Library
TeeChartx

Description
Call StretchDrawZ to draw an image on the canvas so that it fits into the specified rectangle with Z offset. StretchDraw calls the Draw method of the image. The image object determines how it will fit into the rectangle. This may involve changing magnification and/or aspect ratio.

To render the image in its natural size, use the Draw method, instead.

Images can be bitmaps, icons, or metafiles. If it is a IBitmap object, the bitmap is rendered using the value of CopyMode.