ImageGear21.Art Assembly > ImageGear.ART Namespace : ImGearARTPage Class |
'Declaration Public Class ImGearARTPage Inherits ImageGear.Display.ImGearAnnotationPage Implements IImGearARTMarkIDEnumerable
'Usage Dim instance As ImGearARTPage
public class ImGearARTPage : ImageGear.Display.ImGearAnnotationPage, IImGearARTMarkIDEnumerable
public __gc class ImGearARTPage : public ImageGear.Display.ImGearAnnotationPage, IImGearARTMarkIDEnumerable
public ref class ImGearARTPage : public ImageGear.Display.ImGearAnnotationPage, IImGearARTMarkIDEnumerable
ImGearARTPage is completely independent from ImageGear.Core.ImGearPage class and can be associated with one or more ImageGear.Core.ImGearPage class objects.
// 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()
System.Object
ImageGear.Display.ImGearAnnotationPage
ImageGear.ART.ImGearARTPage