creationDate property

DateTime get creationDate

Gets the creation date of the PDF document

Implementation

DateTime get creationDate {
  if (_helper._dictionary!
          .containsKey(PdfDictionaryProperties.creationDate) &&
      _helper._dictionary![PdfDictionaryProperties.creationDate]
          is PdfString) {
    return _helper.creationDate = _helper._dictionary!.getDateTime(_helper
        ._dictionary![PdfDictionaryProperties.creationDate]! as PdfString);
  }
  return _helper.creationDate = DateTime.now();
}
set creationDate (DateTime value)

Sets the creation date of the PDF document

Implementation

set creationDate(DateTime value) {
  if (_helper.creationDate != value) {
    _helper.creationDate = value;
    _helper._dictionary!.setDateTime(
        PdfDictionaryProperties.creationDate, _helper.creationDate);
  }
}