Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- stream
- 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.
- pageNumber
- Zero-based page number. First page is 0.
Return Value
ImGearARTPage class.This method loads annotation marks from an XML stream.
This method can also be used to load ART 2.0 marks from the binary ART format.
C# | ![]() |
---|---|
// 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; |
Visual Basic | ![]() |
---|---|
' Load first page of ART data from an ART file. Dim igARTPageNew As ImGearARTPage Using localFile As New FileStream("test.xml", FileMode.Open) igARTPageNew = ImGearART.LoadPage(localFile, 0) End Using ' Update display with new page. igPageView.Display.ARTPage = igARTPageNew |