Accusoft NotateXpress 13
PrgSetItemFixed Method
The handle of a layer returned by the CreateLayer method.
The handle of an element returned by the ElementAppend method.
If the element is fixed to the control window.
Description
Sets the fixed attribute for a specific element for the specific layer. Fixed controls if the annotation is locked to the ImagXpress control instead of the image.
Syntax
Visual Basic
Public Sub PrgSetItemFixed( _
   ByVal layerHandle As Long, _
   ByVal seqNum As Long, _
   ByVal newVal As Boolean _
) 
Parameters
layerHandle
The handle of a layer returned by the CreateLayer method.
seqNum
The handle of an element returned by the ElementAppend method.
newVal
If the element is fixed to the control window.
Remarks

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

See Also

NotateXpress Object  | NotateXpress Members  | Modifying Existing Annotations  | User Interaction

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback