Edit PUB Metadata

Read MS Publisher file. PUB Metatada editor API for .NET

 

Microsoft® Publisher document file format is used for creating various publication types such as newsletters, brochures, flyers, and postcards and is used in Emails and Websites. Pub files contain text as well as bitmap and vector graphics data.

Publisher Metadata is properties(information) that describe PUB documents. They are standard properties like publisher, title, last author, organization, URL, language, and other similar information. There is also data that is generated automatically after working with a file like its size or the last editing time. This useful information is stored along with the document.

Along with Conversion and Reading functionality, this PUB API solution for .NET lets you edit standard metadata by means of the DocSummaryInfo and SummaryInfo classes as shown in the following code sample. You may also use the API to create your own Metadata Editor application.

Before coding Metadata, you need to integrate C# .NET PUB Metadata API. The following example will show you how to edit the "Company" property.

Edit Metadata of PUB Files on .NET

  1. The publisher Metadata reading process consists of the next steps:
  2. Upload your PUB file using CreateParser() Method of PubFactory Class.
  3. Parse the document via Parse() Method of IPubParser Interface.

Get Started with .NET PUB API

  1. Install from command line as nuget install Aspose.PUB or via Package Manager Console of Visual Studio with Install-Package Aspose.PUB.
  2. Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .

.NET Code to Edit PUB Metadata

  

Support and Learning Resources