ImageGear for .NET
ImGearARTPage Class
Members  Example 




Represents a collection of annotation groups.
Object Model
ImGearARTPage Class
Syntax
'Declaration
 
Public Class ImGearARTPage 
   Inherits ImageGear.Display.ImGearAnnotationPage
   Implements IImGearARTMarkIDEnumerable 
'Usage
 
Dim instance As ImGearARTPage
public __gc class ImGearARTPage : public ImageGear.Display.ImGearAnnotationPage, IImGearARTMarkIDEnumerable  
public ref class ImGearARTPage : public ImageGear.Display.ImGearAnnotationPage, IImGearARTMarkIDEnumerable  
Remarks
This class provides methods and properties for accessing to annotation groups and individual marks on the page.

ImGearARTPage is completely independent from ImageGear.Core.ImGearPage class and can be associated with one or more ImageGear.Core.ImGearPage class objects.

Example
// Build a list of selected marks.
ArrayList igARTMarks = new ArrayList();
ImGearARTPage igARTPage = (pageView.Display.ARTPage as ImGearARTPage);
foreach (ImGearARTMark igARTMark in igARTPage)
{

    if (igARTPage.MarkIsSelected(igARTMark))
        igARTMarks.Add(igARTMark);
}
// Delete the marks.
igARTPage.RemoveMarks(igARTMarks);
// Redraw the view.
pageView.Update();
' Build a list of selected marks.
Dim igARTMarks As New ArrayList()
Dim igARTPage As ImGearARTPage = TryCast(pageView.Display.ARTPage, ImGearARTPage)
For Each igARTMark As ImGearARTMark In igARTPage

    If igARTPage.MarkIsSelected(igARTMark) Then
        igARTMarks.Add(igARTMark)
    End If
Next
' Delete the marks.
igARTPage.RemoveMarks(igARTMarks)
' Redraw the view.
pageView.Update()
Inheritance Hierarchy

System.Object
   ImageGear.Display.ImGearAnnotationPage
      ImageGear.ART.ImGearARTPage

See Also

Reference

ImGearARTPage Members
ImageGear.ART Namespace

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback