Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Fetch Structure Property Field Value C# example showing how to fetch and display the value of a single field within a structure property. Chilkat.Xmp xmp = new Chilkat.Xmp();
xmp.UnlockComponent("anything for 30-day trial");
// Load a JPG with embedded XMP metadata. (TIFF files are also supported)
xmp.LoadAppFile("IndependantPhotographer-Example.jpg");
// Get the XMP document.
Chilkat.Xml xml = xmp.GetEmbedded(0);
// Fetch and display the value of one field in a structure property.
string propertyName = "Iptc4xmpCore:CreatorContactInfo";
string fieldName = "Iptc4xmpCore:CiAdrExtadr";
MessageBox.Show(xmp.GetStructValue(xml,propertyName,fieldName));
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.