VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Comments Namespace / Comment Class / SetState(Color,String,String,String,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    SetState(Color,String,String,String,Boolean) Method (Comment)
    In This Topic
    Sets the state of this comment.
    Syntax
    'Declaration
    
    Public Function SetState( _
    ByVal color
    The color.
    As System.Drawing.Color, _
    ByVal userName
    The user name.
    As System.String, _
    ByVal stateModel
    The state model.
    As System.String, _
    ByVal state
    The state.
    As System.String, _
    ByVal splitByUserName
    A value indicating whether states must be splitted by user name.
    As Boolean _
    ) As Comment
    public Comment SetState(
    System.Drawing.Color color,
    System.String userName,
    System.String stateModel,
    System.String state,
    bool splitByUserName
    )
    public: Comment* SetState(
    System.Drawing.Color* color,
    System.String userName,
    System.String stateModel,
    System.String state,
    bool splitByUserName
    )
    public:
    Comment^ SetState(
    System.Drawing.Color^ color,
    System.String userName,
    System.String stateModel,
    System.String state,
    bool splitByUserName
    )

    Parameters

    color
    The color.
    userName
    The user name.
    stateModel
    The state model.
    state
    The state.
    splitByUserName
    A value indicating whether states must be splitted by user name.

    Return Value

    A new instance of Comment that corresponds the state, which has been set.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also