LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

GetPreferredSize Method (LayoutSelectorToolStripMenuItem)







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 override Size GetPreferredSize( 
   Size constrainingSize
)
 function Leadtools.Medical.Workstation.UI.LayoutSelectorToolStripMenuItem.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: 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

Reference

LayoutSelectorToolStripMenuItem Class
LayoutSelectorToolStripMenuItem Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.