Stream from which to load marks. The LoadPage method works from the current
stream position, so if you are indexing pages from the beginning of the multi-page annotations file,
you need to reset the stream position to the beginning.
Stream from which to load marks. The LoadPage method works from the current
stream position, so if you are indexing pages from the beginning of the multi-page annotations file,
you need to reset the stream position to the beginning.
// Load first page of ART data from an ART file.
ImGearARTPage igARTPageNew;
using (FileStream localFile = new FileStream("test.xml", FileMode.Open))
igARTPageNew = ImGearART.LoadPage(localFile, 0);
// Update display with new page.
igPageView.Display.ARTPage = igARTPageNew;
' Load first page of ART data from an ART file.
Dim igARTPageNew As ImGearARTPage
Using localFile AsNew FileStream("test.xml", FileMode.Open)
igARTPageNew = ImGearART.LoadPage(localFile, 0)
EndUsing' Update display with new page.
igPageView.Display.ARTPage = igARTPageNew