Nevron.UI.WinForm.Controls Namespace / NFontHelper Class / PopulateList Method


PopulateList Method (NFontHelper)
Syntax
'Declaration
 
Public Shared Sub PopulateList( _
   ByVal collection As NListBoxItemCollection, _
   ByVal style As FontDisplayStyle, _
   ByVal font As System.Drawing.Font, _
   ByVal itemHeight As System.Integer, _
   ByRef maxHeight As System.Integer, _
   ByRef prefferedWidth As System.Integer _
) 
 
'Usage
 
Dim collection As NListBoxItemCollection
Dim style As FontDisplayStyle
Dim font As System.Drawing.Font
Dim itemHeight As System.Integer
Dim maxHeight As System.Integer
Dim prefferedWidth As System.Integer
 
NFontHelper.PopulateList(collection, style, font, itemHeight, maxHeight, prefferedWidth)

Parameters

collection
style
font
itemHeight
maxHeight
prefferedWidth
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