VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Comments Namespace / CommentCollection Class / Add(Color,String,String,String) Method
Syntax Requirements SeeAlso
In This Topic
    Add(Color,String,String,String) Method (CommentCollection)
    In This Topic
    Adds new comment to the collection.
    Syntax
    'Declaration
    
    Public MustOverride Function Add( _
    ByVal color
    The comment color.
    As System.Drawing.Color, _
    ByVal userName
    The user name.
    As System.String, _
    ByVal stateModel
    The state model.
    As System.String, _
    ByVal parentState
    The parent state.
    As System.String _
    ) As Comment
    public abstract Comment Add(
    System.Drawing.Color color,
    System.String userName,
    System.String stateModel,
    System.String parentState
    )
    public: abstract Comment* Add(
    System.Drawing.Color* color,
    System.String userName,
    System.String stateModel,
    System.String parentState
    )
    public:
    abstract Comment^ Add(
    System.Drawing.Color^ color,
    System.String userName,
    System.String stateModel,
    System.String parentState
    )

    Parameters

    color
    The comment color.
    userName
    The user name.
    stateModel
    The state model.
    parentState
    The parent state.

    Return Value

    A new comment.
    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