Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Insert/Replace Structure Property Field Values C# example showing how to insert and/or update structure property field values. Chilkat.Xmp xmp = new Chilkat.Xmp();
xmp.UnlockComponent("anything for 30-day trial");
// Demonstrates how to add a structure property to XMP metadata.
xmp.LoadAppFile("IndependantPhotographer-Example.jpg");
Chilkat.Xml xml = xmp.GetEmbedded(0);
// Add structure property values.
// If a structure with the specified field already exists, the value
// is updated (not duplicated).
xmp.AddStructProp(xml,"Iptc4xmpCore:CreatorContactInfo","Chilkat","Wheaton");
xmp.AddStructProp(xml,"Iptc4xmpCore:Test123","ChilkatSt","Illinois");
xmp.AddStructProp(xml,"Iptc4xmpCore:Test123","ChilkatZip","60187");
// Save the updated JPG (TIFF also supported)
xmp.SaveAppFile("updated.jpg");
Important: The download for this
example does not contain the ChilkatDotNet.dll which |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.