DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomPrint Class / AnnotationFormat Property






In This Topic
    AnnotationFormat Property
    In This Topic
    Common printing variable, the annotation format
    Syntax
    'Declaration
     
    
    Public Property AnnotationFormat As System.String
    'Usage
     
    
    Dim instance As DicomPrint
    Dim value As System.String
     
    instance.AnnotationFormat = value
     
    value = instance.AnnotationFormat
    public System.string AnnotationFormat {get; set;}
    public read-write property AnnotationFormat: System.String; 
    public function get,set AnnotationFormat : System.String
    public: __property System.string* get_AnnotationFormat();
    public: __property void set_AnnotationFormat( 
       System.string* value
    );
    public:
    property System.String^ AnnotationFormat {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks

    FilmSize, Orientation, Format, AnnotationFormat and Copies, these are the most commonly used variables when printing so they are given names, so that users do not need to remember the attribute tags for each, and which of the DataSets they apply to. These properties are simply shortcuts to values in Session or FilmBox. The equivalences and default values are as below:

    Property DataSet Tags Default Value
    FilmSize FilmBox 2010, 0050 blank (printer default)
    Orientation FilmBox 2010, 0040 "PORTRAIT"
    Format FilmBox 2010, 0010 "STANDARD\1,1"
    AnnotationFormat FilmBox 2010, 0030 blank
    Copies Session 2000, 0010 1

    Note that the "X" in the FilmSize value must be a capital letter !

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also