Documentation
 All Classes Functions Variables Properties
MST::Imaging::Annotations::MSTAnnotationDocument Class Reference

#include <AnnotationDocument.h>

Public Member Functions

 MSTAnnotationDocument (System::Windows::Forms::ScrollableControl^ Parent)
 Constructor of a class. More...
 
 MSTAnnotationDocument (int nPageCount, System::Windows::Forms::ScrollableControl^ Parent)
 Constructor of a class. More...
 
void LoadXML (String^ strPath)
 Load annotations from XML. More...
 
void SaveXML (String^ strPath)
 Save annotations in XML. More...
 

Properties

int Count [get]
 Get total number of pages in document.
 
MSTAnnotationPage^  default[int] [get]
 

Detailed Description

This is a class which is used to save or load annotation in or from XML.

Constructor & Destructor Documentation

MST::Imaging::Annotations::MSTAnnotationDocument::MSTAnnotationDocument ( System::Windows::Forms::ScrollableControl^  Parent)
inline

Constructor of a class.

Parameters
Parentcontrol which is derived from ScrollableControl.
MST::Imaging::Annotations::MSTAnnotationDocument::MSTAnnotationDocument ( int  nPageCount,
System::Windows::Forms::ScrollableControl^  Parent 
)
inline

Constructor of a class.

Parameters
nPageCounttotal number of pages in document.
Parentcontrol which is derived from ScrollableControl.

Member Function Documentation

void MST::Imaging::Annotations::MSTAnnotationDocument::LoadXML ( String^  strPath)

Load annotations from XML.

Parameters
strPathxml file path from which annotations will be loaded.
void MST::Imaging::Annotations::MSTAnnotationDocument::SaveXML ( String^  strPath)

Save annotations in XML.

Parameters
strPathxml file path in which annotations will be saved.

The documentation for this class was generated from the following file: