public TryGetPremadeThumbnail ( string fileName, Image &image ) : bool | ||
fileName | string | |
image | Image | |
리턴 | bool |
public bool TryGetPremadeThumbnail(string fileName, out Image image)
{
string path = Path.Combine(_folderPath, fileName);
if (RobustFile.Exists(path))
{
image = ImageUtils.GetImageFromFile(path);
return true;
}
image = null;
return false;
}