C# Class ImageGlass.Core.Img

显示文件 Open project: d2phap/ImageGlass Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Initialize this instance

Get ( ) : Image

Return the image (or null)

GetFileName ( ) : string

Get relative path of this image

Img ( string path ) : System
Load ( ) : void

Load image from file

Set ( Image im ) : void

Manually set new image

SetFileName ( string s ) : void

Set relative path of this image

Method Details

Dispose() public method

Initialize this instance
public Dispose ( ) : void
return void

Get() public method

Return the image (or null)
public Get ( ) : Image
return Image

GetFileName() public method

Get relative path of this image
public GetFileName ( ) : string
return string

Img() public method

public Img ( string path ) : System
path string
return System

Load() public method

Load image from file
public Load ( ) : void
return void

Set() public method

Manually set new image
public Set ( Image im ) : void
im Image DURR
return void

SetFileName() public method

Set relative path of this image
public SetFileName ( string s ) : void
s string New relative path of image
return void