C#
VB
C++
Retrieves the size of a rectangular area into which a control can be fit.
public override Size GetPreferredSize(
Size constrainingSize
)
Public Overrides Function GetPreferredSize( _
ByVal constrainingSize As Size _
) As Size
public:
Size GetPreferredSize(
Size constrainingSize
) override
constrainingSize
The custom-sized area for a control.
A Size ordered pair, representing the width and height of a rectangle.
Overrides System.Windows.Forms.ToolStripItem.GetPreferredSize(System.Drawing.Size).
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET