PdfSetMetadata Method

See Also     Examples     Applies To

Sets the document metadata for the native PDF created by the PdfNewPdfEx() function. The metadata must be a valid XMP string, see Adobe's website for XMP documentation.

Syntax

object.PdfSetMetadata (sXMP)

The PdfSetMetadata syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sXMP Required. String. The XMP metadata.

Returns

True if the metadata have been added else False.

Remarks

This function must be called before adding resource to the native PDF.
This function can only be used with the native PDF created by the PdfNewPdfEx() function.

Category

PDF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.