VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Comments.Pdf Namespace / PdfAnnotationCommentCollection Class / Add(Color,String,String,String) Method
Syntax Requirements SeeAlso
In This Topic
    Add(Color,String,String,String) Method (PdfAnnotationCommentCollection)
    In This Topic
    Adds new comment to the collection.
    Syntax
    'Declaration
    
    Public Overrides 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 Vintasoft.Imaging.Annotation.Comments.Comment
    public override Vintasoft.Imaging.Annotation.Comments.Comment Add(
    System.Drawing.Color color,
    System.String userName,
    System.String stateModel,
    System.String parentState
    )
    public: Vintasoft.Imaging.Annotation.Comments.Comment* Add(
    System.Drawing.Color* color,
    System.String userName,
    System.String stateModel,
    System.String parentState
    ); override
    public:
    Vintasoft.Imaging.Annotation.Comments.Comment^ Add(
    System.Drawing.Color^ color,
    System.String userName,
    System.String stateModel,
    System.String parentState
    ); override

    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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also