PrinterFitFontToPage Property

Gets or sets whether Reflection automatically adjusts both height and width when calculating font size.
Property PrinterFitFontToPage As Boolean
Dim instance As IPrinting
Dim value As Boolean
instance.PrinterFitFontToPage = value
value = instance.PrinterFitFontToPage
bool PrinterFitFontToPage {get; set;}

Property Value

The default value is False.

When False, Reflection considers limiting factors of height or width when determining font size. Printed fonts are always correctly proportioned, but the text may not fill the printed page.

When True, both height and width are adjusted (based on the page size and the number of rows and columns on the page) when determining font size so that text always fills the printed page.

Height and width adjustments may give the font a distorted appearance.
See Also