Class Metadata
Represents the meta data for a PdfDocument.
Inheritance
Implements
Namespace: Sartorius.SAF.Pdf
Assembly: Sartorius.SAF.Pdf.dll
Syntax
public sealed class Metadata : IDisposable
Properties
View SourceAuthor
Gets the name of the person who created the document.
Declaration
public string Author { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the person who created the document.. |
ChangeDate
Gets the date and time the document was most recently modified.
Declaration
public DateTimeOffset? ChangeDate { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTimeOffset> | The change date. |
CreationDate
Gets the date and time the document was created.
Declaration
public DateTimeOffset? CreationDate { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTimeOffset> | The creation date. |
Creator
Gets the name of the conforming product that created the original document from which the PDF document was converted (if the document was converted to PDF from another format).
Declaration
public string Creator { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the conforming product that created the original document. |
Item[MetaTag]
Gets the meta data text for the specified known tag.
Declaration
public string this[MetaTag tag] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| MetaTag | tag | The MetaTag. |
Property Value
| Type | Description |
|---|---|
| System.String | The value of the tag. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | Thrown when the owning PdfDocument has already been disposed. |
Item[String]
Gets the meta data text for the specified tag.
Declaration
public string this[string tag] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tag | The name of the tag. |
Property Value
| Type | Description |
|---|---|
| System.String | The value of the tag. |
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | Thrown when the owning PdfDocument has already been disposed. |
Keywords
Gets the keywords associated with the document.
Declaration
public string Keywords { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The keywords. |
Producer
Gets the name of the conforming product that converted the document to PDF (if the document was converted to PDF from another format).
Declaration
public string Producer { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the conforming product that converted the document. |
Subject
Gets the subject of the document.
Declaration
public string Subject { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The subject of the document. |
Title
Gets the title of the document.
Declaration
public string Title { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The title of the document. |
Methods
View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()