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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
IMagickGeometryThe 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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
boolThe 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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
doubleThe 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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
EnumThe 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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
intThe 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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
longThe 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
MagickFormatThe format of the define.
name
stringThe name of the define.
value
stringThe value of the define.
MagickDefine(string, Enum)
Initializes a new instance of the MagickDefine class.
public MagickDefine(string name, Enum value)
Parameters
MagickDefine(string, string)
Initializes a new instance of the MagickDefine class.
public MagickDefine(string name, string value)
Parameters
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
Value
Gets the value of the define.
public string Value { get; }
Property Value
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
MagickFormatThe format of the define.
name
stringThe 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.