Method GetImageFromFile
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
GetImageFromFile(string)
Get the preview of a file.The file can be either an supported image(JPG,BMP etc...) or vdml,vdcl.
public Image GetImageFromFile(string filename)
Parameters
filenamestringThe filename of the file.
Returns
- Image
An Image object that has the preview of the file.
Remarks
If the file is an unsupported format then raises the OnGetFileImagePreview event so the user can provide his own preview.