DicomObjects.NET.V8
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 Integer, _
       ByVal AnnotationString As String _
    ) 
    'Usage
     
    Dim instance As DicomPrint
    Dim AnnotationID As Integer
    Dim AnnotationString As String
     
    instance.AddAnnotation(AnnotationID, AnnotationString)
    public void AddAnnotation( 
       int AnnotationID,
       string AnnotationString
    )
    public:
    void AddAnnotation( 
       int AnnotationID,
       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 3.5 or higher

    See Also