C# Class ImageMagick.XmpProfile

Class that contains an XMP profile.
Inheritance: ImageProfile
Show file Open project: dlemstra/Magick.NET

Public Methods

Method Description
CreateReader ( ) : XmlReader

Creates a XmlReader that can be used to read the data of the profile.

FromIXPathNavigable ( IXPathNavigable document ) : XmpProfile

Creates an instance from the specified IXPathNavigable.

FromXDocument ( System.Xml.Linq.XDocument document ) : XmpProfile

Creates an instance from the specified IXPathNavigable.

ToIXPathNavigable ( ) : IXPathNavigable

Converts this instance to an IXPathNavigable.

ToXDocument ( ) : System.Xml.Linq.XDocument

Converts this instance to a XDocument.

XmpProfile ( Byte data ) : System

Initializes a new instance of the XmpProfile class.

XmpProfile ( IXPathNavigable document ) : System

Initializes a new instance of the XmpProfile class.

XmpProfile ( Stream stream ) : System

Initializes a new instance of the XmpProfile class.

XmpProfile ( System.Xml.Linq.XDocument document ) : System

Initializes a new instance of the XmpProfile class.

XmpProfile ( string fileName ) : System

Initializes a new instance of the XmpProfile class.

Private Methods

Method Description
CheckTrailingNULL ( byte data ) : byte[]

Method Details

CreateReader() public method

Creates a XmlReader that can be used to read the data of the profile.
public CreateReader ( ) : XmlReader
return XmlReader

FromIXPathNavigable() public static method

Creates an instance from the specified IXPathNavigable.
public static FromIXPathNavigable ( IXPathNavigable document ) : XmpProfile
document IXPathNavigable A document containing the profile.
return XmpProfile

FromXDocument() public static method

Creates an instance from the specified IXPathNavigable.
public static FromXDocument ( System.Xml.Linq.XDocument document ) : XmpProfile
document System.Xml.Linq.XDocument A document containing the profile.
return XmpProfile

ToIXPathNavigable() public method

Converts this instance to an IXPathNavigable.
public ToIXPathNavigable ( ) : IXPathNavigable
return IXPathNavigable

ToXDocument() public method

Converts this instance to a XDocument.
public ToXDocument ( ) : System.Xml.Linq.XDocument
return System.Xml.Linq.XDocument

XmpProfile() public method

Initializes a new instance of the XmpProfile class.
public XmpProfile ( Byte data ) : System
data Byte A byte array containing the profile.
return System

XmpProfile() public method

Initializes a new instance of the XmpProfile class.
public XmpProfile ( IXPathNavigable document ) : System
document IXPathNavigable A document containing the profile.
return System

XmpProfile() public method

Initializes a new instance of the XmpProfile class.
public XmpProfile ( Stream stream ) : System
stream Stream A stream containing the profile.
return System

XmpProfile() public method

Initializes a new instance of the XmpProfile class.
public XmpProfile ( System.Xml.Linq.XDocument document ) : System
document System.Xml.Linq.XDocument A document containing the profile.
return System

XmpProfile() public method

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