PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 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: Style.FontName, Style.FontSize, Style.FontBold, Style.FontItalic, Style.FontUnderline and Style.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