DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class
Members






In This Topic
    DicomLabel Class
    In This Topic
    A label, or annotation, to be displayed over an image in a DicomViewer control, or in derived copies of the image.
    Object Model
    DicomLabel Class
    Syntax
    'Declaration
     
    
    <System.SerializableAttribute()>
    Public Class DicomLabel 
    'Usage
     
    
    Dim instance As DicomLabel
    [System.Serializable()]
    public class DicomLabel 
    public class DicomLabel 
    System.SerializableAttribute()
    public class DicomLabel 
    [System.Serializable()]
    public __gc class DicomLabel 
    [System.Serializable()]
    public ref class DicomLabel 
    Remarks

    Labels may be ellipses (or circles), rectangles (or squares), lines, text or bitmaps, or other shapes (see LabelType for a full list), and the properties control not only the type and size of the object, but many other properties such as colour and line thickness.

    Labels may be tied to the viewer control, to the display area in which an image is displayed, or to the image itself, this latter distinction being controlled by the ScaleMode property.

    All properties have default values, which are suitable for many uses, and each is documented with the appropriate property. The same label may be added into several DicomLabelCollections if necessary, but where this is done, subsequent labels will be “cloned” when added, so that they may later be manipulated independently. Also, unambiguous association of each DicomLabel with one image is necessary for the ROI functions.

    An arc is defined as if it were an ellipse using top, left, height and width, but the first two items of the Points collection are used to define the start and end (working anti-clockwise)

    For Special Labels check this kb article

    Inheritance Hierarchy

    System.Object
       DicomObjects.DicomLabel

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also