Chilkat HOME Android™ ASP Visual Basic VB.NET C# iOS (IPhone) Objective-C C++ C Unicode C++ Unicode C MFC Delphi DLL Delphi ActiveX FoxPro Java Perl PHP Extension PHP ActiveX Python PowerShell Ruby SQL Server VBScript
Create New XMP DocumentGenerates a new XML document containing the boilerplate necessary for a new XMP metadata file. ' Create an instance of the XMP ActiveX and unlock it.
Dim xmp As New ChilkatXmp
success = xmp.UnlockComponent("anything for 30 day trial")
If (success = 0) Then
MsgBox "Failed to unlock"
Exit Sub
End If
' Create a new XML document that looks like this:
'
' <x:xmpmeta xmlns:x="adobe:ns:meta/">
' <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
' </rdf:RDF>
' </x:xmpmeta>
Dim xml As ChilkatXml
Set xml = xmp.NewXmp()
' Save the XML so we can verify...
xml.SaveXml "boilerplate.xml"
|
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.