usmanazizgroupdocs
3/7/2016 - 6:02 PM

UpdatePagedTextXmpPropertiesPngImage.vb

'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize PngFormat
Dim PngFormat As New PngFormat(Common.MapSourceFilePath(filePath))

' get access to PagedText schema
Dim 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))