This property sets the path to the folder initially displayed in the dialog that appears when loading or saving an annotation file.
Property Value
The string referring to the folder displayed in the dialog
Explanation
The AnnotationFilePath property sets the path to the folder initially displayed in the dialog that appears when loading or saving an annotation file. When the "Open Annotation File" button or "Save Annotation File" button in the IkToolbar control are clicked, a dialog is displayed that contains the path to the directory where the annotation file is found or will be saved. This property sets the path and directory that is displayed in the dialog.
If a blank string ("") is set in this property, the current directory will be displayed when the dialog opens.
Example
The code below illustlates how to set the default folder to "C:\Images" and to set the file types to "xml and dat" or to "All Files":
[Visual Basic.NET]
ImageKit1.IkToolBar.AnnotationFilePath = "c:\images"
ImageKit1.IkToolBar.AnnotationFileExtension = "xml,dat
files|*.xml;*.dat|All files|*.*"
[Visual C#.NET]
imageKit1.IkToolBar.AnnotationFilePath = "c:\\Images";
imageKit1.IkToolBar.AnnotationFileExtension = "xml,dat
files|*.xml;*.dat|All files|*.*";
See Also
IkToolBar Members | Newtone.ImageKit.Win.IkToolBar