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

In This Topic
    Width Property (FontBuilder)
    In This Topic
    Get or set the average width, in logical units, of characters in the font. If value is zero, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
    Syntax
    'Declaration
     
    
    Public Property Width As Integer
    public int Width {get; set;}

    Property Value

    An int indicate the average width
    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