TRVReportHelper.TargetPixelsPerInch

<< Click to display table of contents >>

TRVReportHelper.TargetPixelsPerInch

Overrides the scaling factor for drawing.

property TargetPixelsPerInch: Integer;

(introduced in version 19)

Assign a positive value to override a scaling factor ("pixels per inch" value) for the target canvas.

If TargetPixelsPerInch = 0, the component draws using PPI of the specified Canvas.

If TargetPixelsPerInch > 0, value of this property is used as PPI. As a side affect, the component assigns TargetPixelsPerInch to Canvas.Font.PixelsPerInch for canvas parameters of Init, DrawPage, DrawPageAt methods.

All sizes are converted from RichView.Style.UnitsPixelsPerInch to the target canvas PPI.

 

Default value

0 (using the Canvas pixel depth)