Click or drag to resize

DocumentAddXmpExtensionSchema Method

Declares a custom PDF/A extension schema in the document XMP metadata and writes the values of its properties.

Namespace: ExpertPdf.HtmlToPdf.PdfDocument
Assembly: ephtmltopdf (in ephtmltopdf.dll) Version: 22.0.0
Syntax
public void AddXmpExtensionSchema(
	string prefix,
	string namespaceUri,
	string schemaName,
	IDictionary<string, string> properties
)

Parameters

prefix  String
The namespace prefix of the schema (for example "fx").
namespaceUri  String
The namespace URI of the schema.
schemaName  String
A human readable name of the schema.
properties  IDictionaryString, String
The names and values of the properties.
Remarks
PDF/A only allows XMP properties of predefined schemas or of schemas the document declares itself; this method declares the schema and writes the property values. All the properties are written as text. Used, for example, by hybrid electronic invoices (see AddZugferdInvoice(Stream, ZugferdProfile, AttachmentRelationship)).
See Also