GroupDocsGists
10/19/2017 - 11:31 AM

UpdatePagedTextXmpPropertiesPngImage.cs

//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize PngFormat
PngFormat PngFormat = new PngFormat(Common.MapSourceFilePath(filePath));

// get access to PagedText schema
var package = PngFormat.XmpValues.Schemes.PagedText;

// update MaxPageSize
package.MaxPageSize = new Dimensions(600, 800);

// update number of pages
package.NumberOfPages = 10;

// update plate names
package.PlateNames = new string[] { "1", "2", "3" }; 

// commit changes
PngFormat.Save(Common.MapDestinationFilePath(filePath));