Declaration
procedure DrawToCanvas(Dest: TCanvas; DrawWidth : Integer = -1; DrawHeight : Integer = -1; UseDisplayAR: Boolean = True);
Description
Outputs the current layer to a TCanvas.
If
CreateWidth and
CreateHeight are not specified, the layer will be drawn at the current size.
If
UseDisplayAR is true, then the image will be returned with the same aspect ratio it is displayed, If false, it is stretched to the specified CreateWidth and CreateHeight dimensions.
See Also
◼CopyToBitmap