C# Class ImageMagick.IptcProfile

Class that can be used to access an Iptc profile.
Inheritance: ImageProfile
Show file Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method Description
GetValue ( IptcTag tag ) : IptcValue

Returns the value with the specified tag.

IptcProfile ( ) : System

Initializes a new instance of the IptcProfile class.

IptcProfile ( Stream stream ) : System

Initializes a new instance of the IptcProfile class.

IptcProfile ( byte data ) : System

Initializes a new instance of the IptcProfile class.

IptcProfile ( string fileName ) : System

Initializes a new instance of the IptcProfile class.

RemoveValue ( IptcTag tag ) : bool

Removes the value with the specified tag.

SetEncoding ( Encoding encoding ) : void

Changes the encoding for all the values,

SetValue ( IptcTag tag, Encoding encoding, string value ) : void

Sets the value of the specified tag.

SetValue ( IptcTag tag, string value ) : void

Sets the value of the specified tag.

Protected Methods

Method Description
UpdateData ( ) : void

Updates the data of the profile.

Private Methods

Method Description
Initialize ( ) : void

Method Details

GetValue() public method

Returns the value with the specified tag.
public GetValue ( IptcTag tag ) : IptcValue
tag IptcTag The tag of the iptc value.
return IptcValue

IptcProfile() public method

Initializes a new instance of the IptcProfile class.
public IptcProfile ( ) : System
return System

IptcProfile() public method

Initializes a new instance of the IptcProfile class.
public IptcProfile ( Stream stream ) : System
stream Stream The stream to read the iptc profile from.
return System

IptcProfile() public method

Initializes a new instance of the IptcProfile class.
public IptcProfile ( byte data ) : System
data byte The byte array to read the iptc profile from.
return System

IptcProfile() public method

Initializes a new instance of the IptcProfile class.
public IptcProfile ( string fileName ) : System
fileName string The fully qualified name of the iptc profile file, or the relative /// iptc profile file name.
return System

RemoveValue() public method

Removes the value with the specified tag.
public RemoveValue ( IptcTag tag ) : bool
tag IptcTag The tag of the iptc value.
return bool

SetEncoding() public method

Changes the encoding for all the values,
public SetEncoding ( Encoding encoding ) : void
encoding System.Text.Encoding The encoding to use when storing the bytes.
return void

SetValue() public method

Sets the value of the specified tag.
public SetValue ( IptcTag tag, Encoding encoding, string value ) : void
tag IptcTag The tag of the iptc value.
encoding System.Text.Encoding The encoding to use when storing the bytes.
value string The value.
return void

SetValue() public method

Sets the value of the specified tag.
public SetValue ( IptcTag tag, string value ) : void
tag IptcTag The tag of the iptc value.
value string The value.
return void

UpdateData() protected method

Updates the data of the profile.
protected UpdateData ( ) : void
return void