CodeCarvings.Piczard
FontDefinition Class Members
See Also  Properties  Methods  Send Feedback
CodeCarvings.Piczard Namespace : FontDefinition Class


The following tables list the members exposed by FontDefinition.

Public Constructors

  Name Description
Public Constructor FontDefinition Constructor Overloaded. Initializes a new instance of the FontDefinition class.  
Top

Public Properties

  Name Description
Public Property Bold Gets or sets a value that indicates whether the font is bold.  
Public Property Italic Gets or sets a value that indicates whether the font is italic.  
Public Property Name Gets or sets the name of the font family.  
Public Property Size Gets or sets the font size.  
Public Property Strikeout Gets or sets a value that indicates whether the font is strikethrough.  
Public Property Underline Gets or sets a value that indicates whether the font is underlined.  
Public Property Unit Gets or sets the graphic unit in which the Size of the font is measured.  
Top

Public Methods

  Name Description
Public Method Clone Creates a copy of the FontDefinition object.  
Public Method Equals Overridden. Determines whether the specified object is equal to the current object.  
Public Methodstatic (Shared in Visual Basic) FromFont Initializes a new instance of the FontDefinition class from a Font object.  
Public Methodstatic (Shared in Visual Basic) FromJSON Overloaded. Deserializes a new instance of the FontDefinition class from JSON.  
Public Method GetFont Overloaded. Gets a new instance of the Font class configured according to the parameters contained in the current FontDefinition object (size, family name, style, etc..).  
Public Method GetHashCode Overridden. Serves as a hash function for a particular type.  
Public Method ToString Overridden. Returns a string that represents the current object.  
Public Methodstatic (Shared in Visual Basic) ValidateName Overloaded. Determines if the provided string is a well-formatted font family Name.  
Public Methodstatic (Shared in Visual Basic) ValidateSize Overloaded. Determines if the provided value is a valid font size.  
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.