LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

GetPreferredSize Method (LayoutSelectorToolStripMenuItem)

Show in webframe






The custom-sized area for a control.
Retrieves the size of a rectangular area into which a control can be fit.
Syntax
public override Size GetPreferredSize( 
   Size constrainingSize
)
'Declaration
 
Public Overrides Function GetPreferredSize( _
   ByVal constrainingSize As Size _
) As Size
'Usage
 
Dim instance As LayoutSelectorToolStripMenuItem
Dim constrainingSize As Size
Dim value As Size
 
value = instance.GetPreferredSize(constrainingSize)

            

            
public: Size GetPreferredSize( 
   Size constrainingSize
) override 
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.
Remarks
Overrides System.Windows.Forms.ToolStripItem.GetPreferredSize(System.Drawing.Size).
Requirements

Target Platforms

See Also

Reference

LayoutSelectorToolStripMenuItem Class
LayoutSelectorToolStripMenuItem Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.