ImageGear for .NET
ImGearAnnotationPage Class
Send Feedback
ImageGear for .NET User Guide > Using ImageGear for .NET > Using Multiple Assemblies > Resolving Assembly Cross-Dependencies > ImGearAnnotationPage Class

Glossary Item Box

The ARTPage Property of ImGearPageDisplay Class uses ImGearAnnotationPage Class type. ImGearAnnotationPage Class is an abstract class that does not have any public members. If the application works with annotations, it shall cast ImGearPageDisplay.ARTPage Property to the actual class ImGearARTPage Class, defined in the ImageGear21.Art assembly. The following two examples demonstrate this:

ImageGear v16 Example Copy Code
ImGearPage page;
ImGearPageView pageView = new ImGearPageView();
// Load an image into ImGearPage, create ImGearPageDisplay for it, and load annotations
// a
// Now remove annotations
ImGearARTPage artPage = pageView.Display.ARTPage;
if (artPage != null)
 artPage.RemoveMarks();
ImageGear v17 Example Copy Code
ImGearPage page;
ImGearPageView pageView = new ImGearPageView();
// Load an image into ImGearPage, create ImGearPageDisplay for it, and load annotations
// a
// Now remove annotations
ImGearARTPage artPage = pageView.Display.ARTPage as ImGearARTPage;
if (artPage != null)
 artPage.RemoveMarks();

 

©2013. Accusoft Corporation. All Rights Reserved.