'Declaration Public Overloads Sub LoadDocument( _ ByVal document As SectionDocument _ )
public void LoadDocument( SectionDocument document )
Parameters
- document
- the section document to open in the viewer.
'Declaration Public Overloads Sub LoadDocument( _ ByVal document As SectionDocument _ )
public void LoadDocument( SectionDocument document )
// Assuming 'viewer' is an instance of the Viewer control var sectionDocument = new SectionDocument("SectionDocument1"); sectionDocument.Pages.Add(new Document.Section.Page()); Viewer.LoadDocument(sectionDocument);