Prepares document for formatting.
procedure Init(ACanvas: TCanvas; APageWidth: TRVCoord);
Parameters:
ACanvas – canvas object used for formatting.
APageWidth – page width, pixels; all pages have the same width.
VCL and LCL: If value of TargetPixelsPerInch is positive, it is assigned to ACanvas.Font.PixelsPerInch.
FMX: If ACanvas is a printer canvas, assign the active printer DPI to (TargetPixelsPerInchX, TargetPixelsPerInchY) properties before calling Init.
See also: