Accusoft NotateXpress 13
ElementSetFixed Method
The handle of an element returned by the ElementCreate method.
If the element is fixed to the control window.
Description
Sets the fixed attribute of an existing element.  Fixed controls if the annotation is locked to the ImagXpress control instead of the image.
Syntax
Visual Basic
Public Sub ElementSetFixed( _
   ByVal elementHandle As Long, _
   ByVal newVal As Boolean _
) 
Parameters
elementHandle
The handle of an element returned by the ElementCreate 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  | Creating Programmatic Annotations  | User Interaction

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback