When an image file is chosen for an image object and the File Dialog is displayed, this property sets the folder that first appears in the File Dialog.
Property Value
The string representing the folder that first appears in the File Dialog
Explanation
When an image file is chosen for an image object and the File Dialog is displayed, the ImageFilePath property sets the folder that first appears in the File Dialog.
If you set a blank string ("") in this property then the default folder appears in the File Dialog. The default folder is the current execution folder. Capital letters and lower case letters are treated as the same.
Examples:
If the default folder is "C:\Images" and the three items you want to appear are: "BMP", "JPG,PNG", and "All Files" then:
Visual Basic.NET:
ImageKit1.Edit.ImageFilePath =
"c:\images"
ImageKit1.Edit.ImageFileExtension =
"Bitmap Files | *.bmp | Jpeg, Png Files | *.jpg;*.png | All Files |
*.*"
Visual C#.NET:
imageKit1.Edit.ImageFilePath =
"c:\\images"
imageKit1.Edit.ImageFileExtension =
"Bitmap Files | *.bmp | Jpeg, Png Files | *.jpg;*.png | All Files |
*.*";
Also See
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit