Loads ART marks from a stream.
Syntax
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
Example
// 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 As New FileStream("test.xml", FileMode.Open)
igARTPageNew = ImGearART.LoadPage(localFile, 0)
End Using
' Update display with new page.
igPageView.Display.ARTPage = igARTPageNew
See Also