Click or drag to resize
Pdftools logo

MetadataKeywords Property

Keywords associated with the document or resource.

Keywords can be separated by:

  • carriage return / line feed
  • comma
  • semicolon
  • tab
  • double space

This property corresponds to the "pdf:Keywords" entry in the XMP metadata and to the "Keywords" entry in the document information dictionary.

Setting this property also sets the XMP property dc:subject accordingly.


Namespace: PdfTools.Toolbox.Pdf
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntax
C#
public string Keywords { get; set; }

Property Value

String
Exceptions
ExceptionCondition
InvalidOperationExceptionif the metadata have already been closed
NotSupportedException[set] the document is read-only
See Also