Spread Windows Forms 6.0 Product Documentation
GetFont Method
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class : GetFont Method


Glossary Item Box

Gets the default font for the element.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetFont() As Font
Visual Basic (Usage)Copy Code
Dim instance As ElementWindowless
Dim value As Font
 
value = instance.GetFont()
C# 
public virtual Font GetFont()

Return Value

Font object containing the default font

Example

csharpCopy Code
Font f = element.GetFont();
}
Visual BasicCopy Code
Font f = element.GetFont()

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.