Gets the preferred (maximum needed) size of the cell for the editor control.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Overrides Function GetPreferredSize( _
ByVal editor As Control _
) As Size |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As BarCodeCellType
Dim editor As Control
Dim value As Size
value = instance.GetPreferredSize(editor) |
Parameters
- editor
- Name of the editor control
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