CreateGENERALMetadata Method

Create general XMP data.

Object.CreateGENERALMetadata(lcXMPFILE, lcXMPSCHEMA)

Parameters

lcXMPFILE

 XMP file data.

lcXMPSCHEMA

 XMP schema.

Remarks

XFRX version: 19.0

Examples

LOCAL m.lnErr, m.loFile, m.loSession
m.loSession=EVALUATE([xfrx("XFRX#INIT")])
m.lnErr=m.loSession.SetParams("some.pdf",,,,.T.,,"PDF")
IF m.lnErr=0
   * Relation type must be "Alternative"
   m.loFile=m.loSession.addAttachment("test.xml",.T., "XML example", "text/XML", "Alternative")
   m.loFile.CreateGENERALMetadata("", "") 

   m.loSession.ProcessReport("report.frx")
ENDIF