PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / Style Class / Font Property

In This Topic
    Font Property (Style)
    In This Topic
    Gets or sets the font.
    Syntax
    'Declaration
     
    Public Property Font As Font
    public Font Font {get; set;}
    Remarks
    Note that setting this property resets properies specifying individual font attributes: FontName, FontSize, FontBold, FontItalic, FontUnderline and FontStrikeout.

    This property is ambient (inherited from the style of the object containing the current style's owner if not explicitly set).

    The default is Arial, 10pt.

    See Also