DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / AddPoint Method / AddPoint(PointF) Method
The point to add



In This Topic
    AddPoint(PointF) Method
    In This Topic
    Adds to point to the path used for a polyline or polygon type of DicomLabel.
    Syntax
    'Declaration
     
    Public Overloads Sub AddPoint( _
       ByVal point As PointF _
    ) 
    'Usage
     
    Dim instance As DicomLabel
    Dim point As PointF
     
    instance.AddPoint(point)
    public void AddPoint( 
       PointF point
    )
    public:
    void AddPoint( 
       PointF point
    ) 

    Parameters

    point
    The point to add
    Remarks

    This method only affects Label objects where the LabelType is Polygon or PolyLine.

    The points are scaled and moved exactly as are Top, Left, Width & Height, i.e. if used a part of a DicomViewer’s Labels collection or if ImageTied is false, then they are display pixels, but ImageTied is true, and used as part of a DicomImage’s Labels collection, then they are scaled and scrolled with the image pixels, ensuring that the shape produced maintains an exact relationship to the underlying image.

    After points have been added, they may be accessed through the Points property, which may also be used to set the whole array in a single operation.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also