GroupDocsGists
10/19/2017 - 11:31 AM

UpdatePagedTextXmpPropertiesJpegImage.cs

//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize JpegFormat
JpegFormat jpegFormat = new JpegFormat(Common.MapSourceFilePath(filePath));
 
// get access to PagedText schema
var package = jpegFormat.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
jpegFormat.Save(Common.MapDestinationFilePath(filePath));