ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / FontBuilder Class / Weight Property

In This Topic
    Weight Property
    In This Topic
    Get or set the weight of the font.
    Syntax
    'Declaration
     
    
    Public Property Weight As Integer
    public int Weight {get; set;}

    Property Value

    An int indicate the weight of font, which is in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used.
    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