Table of Contents

Class MagickDefine

Namespace
ImageMagick
Assembly
Magick.NET-Q8-AnyCPU.dll

Class that implements ImageMagick.IDefine.

public sealed class MagickDefine : IDefine
Inheritance
MagickDefine
Implements
IDefine
Inherited Members

Constructors

MagickDefine(MagickFormat, string, IMagickGeometry)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, IMagickGeometry value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value IMagickGeometry

The value of the define.

MagickDefine(MagickFormat, string, bool)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, bool value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value bool

The value of the define.

MagickDefine(MagickFormat, string, double)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, double value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value double

The value of the define.

MagickDefine(MagickFormat, string, Enum)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, Enum value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value Enum

The value of the define.

MagickDefine(MagickFormat, string, int)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, int value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value int

The value of the define.

MagickDefine(MagickFormat, string, long)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, long value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value long

The value of the define.

MagickDefine(MagickFormat, string, string)

Initializes a new instance of the MagickDefine class.

public MagickDefine(MagickFormat format, string name, string value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value string

The value of the define.

MagickDefine(string, Enum)

Initializes a new instance of the MagickDefine class.

public MagickDefine(string name, Enum value)

Parameters

name string

The name of the define.

value Enum

The value of the define.

MagickDefine(string, string)

Initializes a new instance of the MagickDefine class.

public MagickDefine(string name, string value)

Parameters

name string

The name of the define.

value string

The value of the define.

Properties

Format

Gets the format to set the define for.

public MagickFormat Format { get; }

Property Value

MagickFormat

Name

Gets the name of the define.

public string Name { get; }

Property Value

string

Value

Gets the value of the define.

public string Value { get; }

Property Value

string

Methods

Create<T>(MagickFormat?, string, IEnumerable<T>?)

Create a define with the specified name and value.

public static MagickDefine? Create<T>(MagickFormat? format, string name, IEnumerable<T>? value)

Parameters

format MagickFormat

The format of the define.

name string

The name of the define.

value IEnumerable<T>

The value of the define.

Returns

MagickDefine

A MagickDefine instance.

Type Parameters

T

The type of the enumerable.