EmbeddedData Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a System.Collections.Generic.Dictionary containing additional embedded data contained in a PDF document. Supported formats are specified through the EmbeddedDataFormat enumeration. Each entry in the dictionary is a key-value pair, the key is an EmbeddedDataFormat enumeration value and the value is a string with the data in the specified format. This Dictionary is filled only, if the PDFImportSettings property specifies the LoadEmbeddedData setting.
Syntax
public System.Collections.Generic.Dictionary<EmbeddedDataFormat, object> EmbeddedData { get; }Public ReadOnly Property EmbeddedData As System.Collections.Generic.Dictionary(Of EmbeddedDataFormat, Object)Examples
The following example reads LoadSettings.EmbeddedData after the template has been loaded.
LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Embedded Data: {loadSettings.EmbeddedData}");Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Embedded Data: {loadSettings.EmbeddedData}")Limitations
PDF and PDF/A only.