DicomObjects.NET Core 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 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also