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







    AddAnnotation Method
    Adds an Annotation to the Annotations collection
    Syntax
    'Declaration
     
    
    Public Sub AddAnnotation( _
       ByVal AnnotationID As System.Integer, _
       ByVal AnnotationString As System.String _
    ) 
     
    'Usage
     
    
    Dim instance As DicomPrint
    Dim AnnotationID As System.Integer
    Dim AnnotationString As System.String
     
    instance.AddAnnotation(AnnotationID, 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