PDF .NET Library Documentation - PDF Technologies, Inc.
Assembly: PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)
Retrieves the document Meta data collection schemas
Namespace:
PDFTechAssembly: PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)
Syntax
C# |
---|
public PDFMetaDataSchemas Schemas { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Property Schemas As PDFMetaDataSchemas |
Visual C++ |
---|
public: property PDFMetaDataSchemas^ Schemas { PDFMetaDataSchemas^ get (); } |
Remarks
Meta date schemas are used to attach custom properties to documents. Meta data can be grouped into schemas and more than one schema may be attached to a document.
Examples
The example below demonstrates how the custom document properties are set.
CopyC#
PDFDocument doc = new PDFDocument("sample.pdf"); PdfMetaDataSchema schema = doc.AddSchema(); schema.Properties.Add("Customer", "Joe Doe"); schema.Properties.Add("Company", "Acme Corp."); ... doc.Save();