Accusoft.NotateXpress13.Net
ForceAllUpdate Method
Example 




When multiple ImageXView objects are pointed to the same ImageX image, ForceAllUpdate synchronizes all NotateXpress objects to the current NotateXpress' data.
Syntax
'Declaration
 
Public Sub ForceAllUpdate() 
'Usage
 
Dim instance As NotateXpress
 
instance.ForceAllUpdate()
public void ForceAllUpdate()
public: void ForceAllUpdate(); 
public:
void ForceAllUpdate(); 
Example
How to syncronize two views
notateXpress1.ClientWindow = imageXView1.Handle;
notateXpress2.ClientWindow = imageXView2.Handle;
imageXView1.Image = Accusoft.ImagXpress10.Net.ImageX.FromFile(ImagXpress1, "c:\\images\\MyFirstImage.tif");
            
// Make sure the second image is not loaded, but referenced to the first image
imageXView2.Image = imageXView1.Image;
Accusoft.NotateXpressSdk.Layer layer1 = new Accusoft.NotateXpressSdk.Layer();
notateXpress1.Layers.Add(layer1);
            
// Turn on the toolbar on the first imagXView for drawing
notateXpress1.ToolbarDefaults.ToolbarActivated = true;
            
// AFTER interactive or programmatic drawing is complete
            
// call ForceAllUpdate to send annotations from notateXpress1 to notateXpress2
private void buttonFAU_Click(object sender, EventArgs e)
{
   notateXpress1.ForceAllUpdate();
}
See Also

Reference

NotateXpress Class
NotateXpress Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback