Back to Devexpress

PdfMetadata.Data Property

officefileapi-devexpress-dot-pdf-dot-pdfmetadata.md

latest2.2 KB
Original Source

PdfMetadata.Data Property

Gets the data for the document components.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public string Data { get; }
vb
Public ReadOnly Property Data As String

Property Value

TypeDescription
String

A string value that represents the data of document components.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Data property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

pdf-document-api-xmp-example/CS/XmpMetadataExamples/Program.cs#L26

csharp
// Retrieve metadata:
XmpDocument editedMetadata = XmpDocument.FromString(document.Metadata.Data);

pdf-document-api-xmp-example/VB/XmpMetadataExamples/Program.vb#L21

vb
' Retrieve metadata:
Dim editedMetadata As XmpDocument = XmpDocument.FromString(document.Metadata.Data)
' Add items to the Creator array:

See Also

PdfMetadata Class

PdfMetadata Members

DevExpress.Pdf Namespace