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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valueIMagickGeometryThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valueboolThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valuedoubleThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valueEnumThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valueintThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valuelongThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valuestringThe 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
formatMagickFormatThe format of the define.
namestringThe name of the define.
valueIEnumerable<T>The value of the define.
Returns
- MagickDefine
A MagickDefine instance.
Type Parameters
TThe type of the enumerable.