C# Class ImageMagick.IptcProfile

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
UpdateData ( ) : void

Updates the data of the profile.

Private Methods

Méthode Description
Initialize ( ) : void

Method Details

GetValue() public méthode

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

IptcProfile() public méthode

Initializes a new instance of the IptcProfile class.
public IptcProfile ( ) : System
Résultat System

IptcProfile() public méthode

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

IptcProfile() public méthode

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

IptcProfile() public méthode

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.
Résultat System

RemoveValue() public méthode

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

SetEncoding() public méthode

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

SetValue() public méthode

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.
Résultat void

SetValue() public méthode

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.
Résultat void

UpdateData() protected méthode

Updates the data of the profile.
protected UpdateData ( ) : void
Résultat void