Search
ComponentBase.GetDesiredSize Method
See Also
 





Gets the desired size of this component in case the Width and/or Height have not been explicitly specified.

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual SizeF GetDesiredSize (
    SizeF availableSize,
    IGraphics graphics
)

Visual Basic  Copy Code

Public Overridable Function GetDesiredSize( _
    availableSize As SizeF, _
    graphics As IGraphics _
) As SizeF

 Parameters

availableSize

The available size.

graphics
A relevant IGraphics object.

 Return Value

A SizeF object representing the desired size.

 See Also