←Select platform

GetPreferredSize Method

Summary

Retrieves the size of a rectangular area into which a control can be fit.

Syntax

C#
VB
C++
public override Size GetPreferredSize( 
   Size constrainingSize 
) 
  
Public Overrides Function GetPreferredSize( _ 
   ByVal constrainingSize As Size _ 
) As Size 
public: 
Size GetPreferredSize(  
   Size constrainingSize 
) override  

Parameters

constrainingSize
The custom-sized area for a control.

Return Value

A Size ordered pair, representing the width and height of a rectangle.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly