AccusoftNotateXpress13 ActiveX DLL > NotateXpress Object : PrgSetItemFixed Method |
Visual Basic |
---|
Public Sub PrgSetItemFixed( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal newVal As Boolean _ ) |
A fixed annotation element has a fixed position with respect to the control window, regardless of the position of the image within the window. This is useful when viewing medical images to ensure that annotations such as patient information are stationary in the view window when the image is moved.
Note: When a fixed annotation is created outside of the current view, the user will never be able to see it. If the scrollbars are on when the fixed annotation is created, factor in the position to be able to get back to the fixed annotation in the view.
If a situation arises where the scrollbars are on when the fixed annotation is created, factor in the position to be able to get back to the fixed annotation in the view.
For example: NotateXpress13.ElementSetBoundingRect e, ImagXpress10.ScrollX + 10, ImagXpress10.ScrollY + 10, ImagXpress10.ScrollX + 800, ImagXpress10.ScrollY + 100