DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomPrint Class / AddAnnotation Method

ID of Annotation to be added

Text value of the annotation to be added


In This Topic
    AddAnnotation Method
    In This Topic
    Adds an Annotation to the Annotations collection
    Syntax
    'Declaration
     
    
    Public Sub AddAnnotation( _
       ByVal AnnotationID As System.Integer, _
       ByVal AnnotationString As System.String _
    ) 
    public void AddAnnotation( 
       System.int AnnotationID,
       System.string AnnotationString
    )

    Parameters

    AnnotationID

    ID of Annotation to be added

    AnnotationString

    Text value of the annotation to be added

    Remarks
    This is simply a shortcut way of adding items to the Annotations collection. See that property for more details of how annotations work in DicomObjects printing.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also