PrintDocument for WinForms
Font プロパティ (Style)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > Style クラス : Font プロパティ
Gets or sets the font.
シンタックス
'宣言
 
Public Property Font As System.Drawing.Font
'使用法
 
Dim instance As Style
Dim value As System.Drawing.Font
 
instance.Font = value
 
value = instance.Font
public System.Drawing.Font Font {get; set;}
解説
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.

参照

Style クラス
Style メンバ