C# Class ImageMagick.MagickSettings

Mostrar archivo Open project: dlemstra/Magick.NET Class Usage Examples

Private Properties

Property Type Description
Clone MagickSettings
CreateInstance INativeInstance
CreateNativeInstance INativeInstance
GetFormat string
GetModule MagickFormat
GetOption string
MagickSettings System
SetDefine void
SetOption void
SetOptionAndArtifact void
SetOptionAndArtifact void

Public Methods

Method Description
GetDefine ( MagickFormat format, string name ) : string

Returns the value of a format-specific option.

GetDefine ( string name ) : string

Returns the value of a format-specific option.

RemoveDefine ( MagickFormat format, string name ) : void

Removes the define with the specified name.

RemoveDefine ( string name ) : void

Removes the define with the specified name.

SetDefine ( MagickFormat format, string name, string value ) : void

Sets a format-specific option.

SetDefine ( string name, string value ) : void

Sets a format-specific option.

SetDefines ( [ defines ) : void

Sets format-specific options with the specified defines.

Protected Methods

Method Description
Copy ( MagickSettings settings ) : void

Copies the settings from the specified MagickSettings.

ParseDefine ( MagickFormat format, string name ) : string

Creates a define string for the specified format and name.

Private Methods

Method Description
Clone ( ) : MagickSettings
CreateInstance ( MagickSettings instance ) : INativeInstance
CreateNativeInstance ( ) : INativeInstance
GetFormat ( ) : string
GetModule ( MagickFormat format ) : MagickFormat
GetOption ( string key ) : string
MagickSettings ( ) : System
SetDefine ( MagickFormat format, string name, bool flag ) : void
SetOption ( string key, string value ) : void
SetOptionAndArtifact ( string key, double value ) : void
SetOptionAndArtifact ( string key, string value ) : void

Method Details

Copy() protected method

Copies the settings from the specified MagickSettings.
protected Copy ( MagickSettings settings ) : void
settings MagickSettings The settings to copy the data from.
return void

GetDefine() public method

Returns the value of a format-specific option.
public GetDefine ( MagickFormat format, string name ) : string
format MagickFormat The format to get the option for.
name string The name of the option.
return string

GetDefine() public method

Returns the value of a format-specific option.
public GetDefine ( string name ) : string
name string The name of the option.
return string

ParseDefine() protected static method

Creates a define string for the specified format and name.
protected static ParseDefine ( MagickFormat format, string name ) : string
format MagickFormat The format to set the define for.
name string The name of the define.
return string

RemoveDefine() public method

Removes the define with the specified name.
public RemoveDefine ( MagickFormat format, string name ) : void
format MagickFormat The format to set the define for.
name string The name of the define.
return void

RemoveDefine() public method

Removes the define with the specified name.
public RemoveDefine ( string name ) : void
name string The name of the define.
return void

SetDefine() public method

Sets a format-specific option.
public SetDefine ( MagickFormat format, string name, string value ) : void
format MagickFormat The format to set the option for.
name string The name of the option.
value string The value of the option.
return void

SetDefine() public method

Sets a format-specific option.
public SetDefine ( string name, string value ) : void
name string The name of the option.
value string The value of the option.
return void

SetDefines() public method

Sets format-specific options with the specified defines.
public SetDefines ( [ defines ) : void
defines [ The defines to set.
return void