IChartFont.PixelsPerInch
IChartFont
property PixelsPerInch: Integer;
Type Library
TeeChartx
Description
Read only.
Indicates the conversion factor between logical inches and the pixels of the device (printer or screen) using the font.
PixelsPerInch is used to ensure that when a font is copied from the Form Canvas to the printer, the font is the same size in points. The property affects only printer fonts.
Example [Visual Basic]:
With TChart1
.Canvas.Font.Height = .Axis.Left.Title.Font.Size * _
.Axis.Left.Title.Font.PixelsPerInch / 72
.Canvas.TextOut 100, 100, "Text same size as Left Axis Title"
End With