Spread Windows Forms 6.0 Product Documentation
GetPreferredSize(Control) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > BarCodeCellType Class > GetPreferredSize Method : GetPreferredSize(Control) Method


editor
Name of the editor control

Glossary Item Box

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)
C# 
public override Size GetPreferredSize( 
   Control 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

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