Font Class
Class representing a font.
Inheritance Hierarchy
SystemObject
  GroupDocs.Watermark.WatermarksFont

Namespace: GroupDocs.Watermark.Watermarks
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntax
public sealed class Font

The Font type exposes the following members.

Constructors
  NameDescription
Public methodFont(String, Single)
Initializes a new instance of the Font class with a specified font family name and a size.
Public methodFont(String, Single, FontStyle)
Initializes a new instance of the Font class with a specified font family name, a size and a style.
Properties
  NameDescription
Public propertyBold
Gets a value indicating whether the font is bold.
Public propertyFamilyName
Gets the family name of this Font.
Public propertyItalic
Gets a value indicating whether the font is italic.
Public propertySize
Gets the size of this Font.
Public propertyStrikeout
Gets a value indicating whether the font specifies a horizontal line through the font.
Public propertyStyle
Gets the style information for this Font.
Public propertyUnderline
Gets a value indicating whether the font is underlined.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also