keywords property
String
get
keywords
Gets the keywords.
Implementation
String get keywords {
_keywords = '';
if (_helper._dictionary!.containsKey(PdfDictionaryProperties.keywords) &&
_helper._dictionary![PdfDictionaryProperties.keywords] is PdfString) {
_keywords =
(_helper._dictionary![PdfDictionaryProperties.keywords]! as PdfString)
.value;
}
return _keywords!;
}
set
keywords
(String value)
Sets the keywords.
Implementation
set keywords(String value) {
if (_keywords != value) {
_keywords = value;
_helper._dictionary!
.setString(PdfDictionaryProperties.keywords, _keywords);
}
if (_helper._catalog != null && _helper._catalog!.metadata != null) {
_helper._xmp = _helper.xmpMetadata;
}
}