public ImageDescribedLight(string description, string bitmapFilePath)
 {
     Description = description;
     Img         = new LocalDriveBitmap(bitmapFilePath, false, false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Construct a new LocalDriveBitmap from an existing one
 /// </summary>
 /// <param name="onlyLoadFile">If true, the file is only loaded and saving is forbidden (image file is never overwritten); if false, the file can be overwritten</param>
 public LocalDriveBitmap(LocalDriveBitmap localDriveBmp, bool onlyLoadFile = false)
 {
     LocalFilePath           = localDriveBmp.LocalFilePath;
     DeleteFileOnDestruction = localDriveBmp.DeleteFileOnDestruction;
     _onlyLoadFile           = onlyLoadFile;
 }
 public ImageDescribedLight(string description, LocalDriveBitmap img)
 {
     Description = description;
     Img         = img;
 }