Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / PerformAutoSize Method
The width will be auto fit.


In This Topic
    PerformAutoSize Method
    In This Topic
    Changes the size of this shape to fit text.
    Syntax
    'Declaration
     
    
    Public Function PerformAutoSize( _
       Optional ByVal autoWidth As Nullable(Of Boolean) _
    ) As Boolean
    'Usage
     
    
    Dim instance As Shape
    Dim autoWidth As Nullable(Of Boolean)
    Dim value As Boolean
     
    value = instance.PerformAutoSize(autoWidth)
    public bool PerformAutoSize( 
       Nullable<bool> autoWidth
    )

    Parameters

    autoWidth
    The width will be auto fit.

    Return Value

    trueif the size of shape is changed; otherwise, false.
    See Also