Version

GetSize(EmbeddableEditorOwnerBase,Object,Boolean,Boolean,Boolean) Method

Is called to get the size needed to render a value.
Syntax
'Declaration
 
Public Overloads Function GetSize( _
   ByVal owner As EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object, _
   ByVal valueOnly As Boolean, _
   ByVal full As Boolean, _
   ByVal borders As Boolean _
) As Size
public Size GetSize( 
   EmbeddableEditorOwnerBase owner,
   object ownerContext,
   bool valueOnly,
   bool full,
   bool borders
)

Parameters

owner
An object that derives from the EmbeddableEditorOwnerBase class.
ownerContext
An object that is used to get the value to render via a call to the EmbeddableEditorOwnerBase.GetValue method.
valueOnly
If false will include space needed for associated elements (e.g. editing elements like spin buttons).
full
If true will return the size required to completely render the value otherwise the size returned should be the preferred size.
borders
If true will include the borders

Return Value

Returns the size needed to render a value and optionally its associated elements.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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