C# Class UniversalImageScaler.Models.SourceImage

Inheritance: ModelBase, IDisposable
Datei anzeigen Open project: spadapet/universal-image-scaler Class Usage Examples

Public Methods

Method Description
AddFeature ( OutputFeature feature ) : void
Dispose ( ) : void
GetScaledPath ( double scale, string fileNameOverride = null, ImageFileType fileTypeOverride = ImageFileType.None ) : string
GetTargetSizePath ( double targetSize, bool unplated, string fileNameOverride = null ) : string
PostInitialize ( ) : void
SourceImage ( ) : System
SourceImage ( VSITEMSELECTION item ) : System

Private Methods

Method Description
InitSourceImage ( ) : void
InitSourcePathAndScale ( ) : void

Method Details

AddFeature() public method

public AddFeature ( OutputFeature feature ) : void
feature OutputFeature
return void

Dispose() public method

public Dispose ( ) : void
return void

GetScaledPath() public method

public GetScaledPath ( double scale, string fileNameOverride = null, ImageFileType fileTypeOverride = ImageFileType.None ) : string
scale double
fileNameOverride string
fileTypeOverride ImageFileType
return string

GetTargetSizePath() public method

public GetTargetSizePath ( double targetSize, bool unplated, string fileNameOverride = null ) : string
targetSize double
unplated bool
fileNameOverride string
return string

PostInitialize() public method

public PostInitialize ( ) : void
return void

SourceImage() public method

public SourceImage ( ) : System
return System

SourceImage() public method

public SourceImage ( VSITEMSELECTION item ) : System
item VSITEMSELECTION
return System