ActiveReports 13
GetPreferredSize Method (FlatToolbox)

GrapeCity.ActiveReports.Design.Win Assembly > GrapeCity.ActiveReports.Design.Toolbox Namespace > FlatToolbox Class : GetPreferredSize Method
The custom-sized area for a control.
Retrieves the size of a rectangular area into which a control can be fitted.
Syntax
'Declaration
 
Public Function GetPreferredSize( _
   ByVal proposedSize As Size _
) As Size
public Size GetPreferredSize( 
   Size proposedSize
)

Parameters

proposedSize
The custom-sized area for a control.

Return Value

An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.
See Also

Reference

FlatToolbox Class
FlatToolbox Members