C# Класс ImageMagick.MagickSettings

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Clone MagickSettings
CreateInstance INativeInstance
CreateNativeInstance INativeInstance
GetFormat string
GetModule MagickFormat
GetOption string
MagickSettings System
SetDefine void
SetOption void
SetOptionAndArtifact void
SetOptionAndArtifact void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Copy() защищенный метод

Copies the settings from the specified MagickSettings.
protected Copy ( MagickSettings settings ) : void
settings MagickSettings The settings to copy the data from.
Результат void

GetDefine() публичный метод

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.
Результат string

GetDefine() публичный метод

Returns the value of a format-specific option.
public GetDefine ( string name ) : string
name string The name of the option.
Результат string

ParseDefine() защищенный статический метод

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.
Результат string

RemoveDefine() публичный метод

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.
Результат void

RemoveDefine() публичный метод

Removes the define with the specified name.
public RemoveDefine ( string name ) : void
name string The name of the define.
Результат void

SetDefine() публичный метод

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.
Результат void

SetDefine() публичный метод

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.
Результат void

SetDefines() публичный метод

Sets format-specific options with the specified defines.
public SetDefines ( [ defines ) : void
defines [ The defines to set.
Результат void