ASP.NET Pack Programmer's Guide
ButtonComponent.GetDesiredSize Method
See Also
 





ContentComponent.GetDesiredSize override.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public override SizeF GetDesiredSize (
    SizeF availableSize,
    IGraphics graphics
)

Visual Basic  Copy Code

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

 Parameters

availableSize
The available size.
graphics
An IGraphics object that can be used for text measurement.

 Return Value

A SizeF instance representing the desired size of the component given the specified available size.

 See Also

ButtonComponent Members
ButtonComponent Class
MindFusion.Diagramming.Components Namespace