Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadShapesContainer Class / SetElementStyle Method / SetElementStyle(ElementStyle,Boolean) Method
ElementStyle object that contains the element style
Whether to reset properties that are not set in the element to their default settings


In This Topic
    SetElementStyle(ElementStyle,Boolean) Method
    In This Topic
    Sets the style for the element and clears unset properties.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub SetElementStyle( _
       ByVal style As ElementStyle, _
       ByVal clearUnsetProps As Boolean _
    ) 
    'Usage
     
    
    Dim instance As SpreadShapesContainer
    Dim style As ElementStyle
    Dim clearUnsetProps As Boolean
     
    instance.SetElementStyle(style, clearUnsetProps)
    public virtual void SetElementStyle( 
       ElementStyle style,
       bool clearUnsetProps
    )

    Parameters

    style
    ElementStyle object that contains the element style
    clearUnsetProps
    Whether to reset properties that are not set in the element to their default settings
    See Also