Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IPrinting Interface / PrinterFitFontToPage Property


In This Topic
    PrinterFitFontToPage Property
    In This Topic
    Gets or sets whether Reflection automatically adjusts both height and width when calculating font size.
    Syntax
    'Declaration
     
    
    Property PrinterFitFontToPage As Boolean
    'Usage
     
    
    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.

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