Objective Grid for Microsoft® .NET® Reference Guide

OGFont Members

Back to Class Index

OGFont overview

Public Static (Shared) Methods

DefaultFont Sets default values for the font.

Public Instance Constructors

OGFontOverloaded. Initializes a new instance of the OGFont class.

Public Instance Properties

Bold Gets a value to show that the font is bold.
Description FOR INTERNAL USE ONLY.
FaceName Gets the FaceName for the font (for example, Arial or Courier).
IncludeBold Gets or sets a value to show that the Bold property is set.
IncludeFaceName Gets or sets a value to show that the FaceName property is set.
IncludeItalic Gets or sets a value to show that the Italic property is set.
IncludeOrientation Gets or sets a value to show that the Orientation property is set.
IncludeSize Gets or sets a value to show that the Size property is set.
IncludeStrikeOut Gets or sets a value to show that the StrikeOut property is set.
IncludeUnderLine Gets or sets a value to show that the UnderLine property is set.
IsEmpty Returns true if and only if the font has no properties set.
Italic Gets a value to show that the font is italicized.
Orientation Gets the orientation of the font, in degrees, from 0 through 360.
Size Gets the point size of the font.
StrikeOut Gets a value to show that the font is struck out.
UnderLine Gets a value to show that the font is underlined.

Public Instance Methods

ChangeFont Composes this font using a source font and a ModifyType for the operation.
Clone Creates a copy of this OGFont.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetFontKey Returns the hash key for this OGFont.
GetGdiPlusFont Returns a GDI+ font equivalent to this OGFont.
GetHashCode Computes the hash key for this OGFont.
GetObjectData FOR INTERNAL USE ONLY.
GetType (inherited from Object)Gets the Type of the current instance.
IsSubSet Returns true if and only if this font is a subset of the specified font.
ToString FOR INTERNAL USE ONLY.

Protected Instance Fields

includeBold Bold included
includeFaceName FaceName included
includeItalic Italics included
includeOrientation Orientation included
includeSize Size included
includeStrikeOut StrikeOut included
includeUnderLine UnderLine included

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
SetBold FOR INTERNAL USE ONLY.
SetFaceName FOR INTERNAL USE ONLY.
SetItalic FOR INTERNAL USE ONLY.
SetOrientation FOR INTERNAL USE ONLY.
SetSize FOR INTERNAL USE ONLY.
SetStrikeOut FOR INTERNAL USE ONLY.
SetUnderLine FOR INTERNAL USE ONLY.

See Also

OGFont Class | Stingray.Grid Namespace