Table of Contents

Constructor XmpSchema

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

XmpSchema(string, Uri)

Initializes a new instance of the XmpSchema class.

public XmpSchema(string prefix, Uri uri)

Parameters

prefix string

The schema namespace prefix.

uri Uri

The name of the schema.

Remarks

Metadata should not contain duplicate schemas, so the ArgumentException will be thrown if metadata already contains schema with specified namespace prefix.

Creation of schemas with well-known prefixes is forbidden. Please use corresponding properties of XmpMetadata to access properties of a well-known schema.

Each schema consists of a schema name and namespace prefix. The name is a URI that serves to uniquely identify the schema. It is simply a unique string. A schema name looks like an URI (e.g. 'http://ns.adobe.com/xap/1.0/') but there might or might not be an actual Web page at the URI. The URI must obey XML namespace rules, and it should end in "/" or "#".

A schema namespace prefix is a short abbreviation for the full schema name. The prefix is used for properties in the schema.

XmpSchema(string, string)

Initializes a new instance of the XmpSchema class.

public XmpSchema(string prefix, string uri)

Parameters

prefix string

The schema namespace prefix.

uri string

The name of the schema.

Remarks

Metadata should not contain duplicate schemas, so the ArgumentException will be thrown if metadata already contains schema with specified namespace prefix.

Creation of schemas with well-known prefixes is forbidden. Please use corresponding properties of XmpMetadata to access properties of a well-known schema.

Each schema consists of a schema name and namespace prefix. The name is a URI that serves to uniquely identify the schema. It is simply a unique string. A schema name looks like an URI (e.g. 'http://ns.adobe.com/xap/1.0/') but there might or might not be an actual Web page at the URI. The URI must obey XML namespace rules, and it should end in "/" or "#".

A schema namespace prefix is a short abbreviation for the full schema name. The prefix is used for properties in the schema.