ImageGear for .NET
ImGearARTPage Class
Members  Example  See Also  Send Feedback
ImageGear21.Art Assembly > ImageGear.ART Namespace : ImGearARTPage Class




Glossary Item Box

Represents a collection of annotation groups.

Object Model

ImGearARTPage Class

Syntax

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

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

C#Copy Code
// 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();
Visual BasicCopy Code
' 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

©2013. Accusoft Corporation. All Rights Reserved.