Accusoft.NotateXpress12.Net
ForceAllUpdate Method
See Also  Example Send Feedback
Accusoft.NotateXpressSdk Namespace > NotateXpress Class : ForceAllUpdate Method




Glossary Item Box

When multiple ImageXView objects are pointed to the same ImageX image, ForceAllUpdate synchronizes all NotateXpress objects to the current NotateXpress' data.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Example

How to syncronize two views
C#Copy Code
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

©2013. Accusoft Corporation. All Rights Reserved.