'Usage Dim instance As DicomLabel Dim X As Single Dim Y As Single instance.AddPoint(X, Y)
Parameters
- X
- The X co-ordinates of the point to add.
- Y
- The Y co-ordinates of the point to add.
'Usage Dim instance As DicomLabel Dim X As Single Dim Y As Single instance.AddPoint(X, Y)
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.