Synchronizes all NotateXpress controls to the current NotateXpress data, when multiple ImagXpress controls are pointed to the same buffer.
Visual Basic |
---|
Public Sub ForceAllUpdate() |
This is used when a customer has multiple ImagXpress and NotateXpress pairs and they want to view the same annotations.
Each ImagXpress and NotateXpress must be connected.
Each ImagXpress must point to the same ViewImageID and ProcessImageID.
ForceAllUpdate Example (Visual Basic) | ![]() |
---|---|
'DroptwoImagXpressandNotateXpresscontrolsontheform. 'ConnecttheControlstogether NotateXpress1.Client="ImagXpress1" NotateXpress2.Client="ImagXpress2" 'MakesurethatthetwoImagXpresscontrolspointtothesamebuffers ImagXpress1.ViewImageID=1 ImagXpress2.ViewImageID=1 ImagXpress1.ProcessImageID=1 ImagXpress2.ProcessImageID=1 'Loadanimageintothe1stImagXpresscontrol ImagXpress1.FileName="c:\images\myfavoriteimage.jpg" 'Atthispointtheimagewillbedisplayedinbothcontrols. 'Createalayerinthe1stcontrol NotateXpress1.CreateLayer 'Turnonthetoolbarforthe1stcontrol NotateXpress1.ToolbarActivated=True 'Drawsomeannotationsonthe1stcontrol 'Sendthedatafromthe1stNotateXpresstothe2ndNotateXpress NotateXpress1.ForceAllUpdate |