Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetComPicture ( string imagePath ) : IPicture |
Get the image stored at the specified path as an IPicture. The PictureHolder remains responsible to dispose or release the picture as needed, typically when the application exits, so the client may keep and use it indefinitely.
|
|
GetPicture ( string key, Image source ) : IPicture |
Get an IPicture corresponding to the specified key. If one is not known, obtain it from the source image, and save it for next time. The PictureHolder remains responsible for disposing or releasing the picture in either case.
|
|
ReleasePicture ( string key ) : void |
Release any data that might prevent deleting the specified picture file
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
As a special case, this class does not HAVE to be disposed if it does not allow pictures.
|
Method | Description | |
---|---|---|
ReleasePicture ( IPicture picture ) : void |
public GetComPicture ( string imagePath ) : IPicture | ||
imagePath | string | |
return | IPicture |
public GetPicture ( string key, Image source ) : IPicture | ||
key | string | |
source | Image | |
return | IPicture |