This property sets the default file extention that appears in the Open Annotation File and Save Annotation File dialog when an annotation file is being opened or saved.

[Visual Basic]Public Property AnnotationFileExtension As String
[C#]public string AnnotationFileExtension {get; set;}

Property Value

A string that represents the file extension

Explanation

The AnnotationFileExtension property sets sets the default file extention that appears in the Open Annotation File and Save Annotation File dialog when an annotation file is being opened or saved. When the Open / Save Annotation File button is pressed and the Open / Save Annotation File dialog appears, this property sets the file types that appear in the dialog. 

The first item is the file description followed by a vertical bar separator. The next item is the file extension followed by a vertical bar separator. The final item is the file type. For multiple entries, separate file extensions with a semicolon.

Example

The default folder is "C:\Images". File extensions are "xml", "dat", and "All Files".

[Visual Basic.NET]
    ToolBarStandard1.AnnotationFilePath = "c:\images"
    ToolBarStandard1.AnnotationFileExtension = "xml,dat Files|*.xml;*.dat|All Files|*.*"

[Visual C#.NET]
    ToolBarStandard1.AnnotationFilePath = "c:\images";
    ToolBarStandard1.AnnotationFileExtension = "xml,dat Files|*.xml;*.dat|All Files|*.*";

See Also

ToolBarStandard Members | Newtone.ImageKit.Wpf.ToolBarStandard

 

The ImageKit WPF is created by Newtone Corporation