lineCaption property

bool get lineCaption

Gets the line caption of the annotation.

Implementation

bool get lineCaption =>
    PdfAnnotationHelper.getHelper(this).isLoadedAnnotation
        ? _helper._obtainLineCaption()
        : _lineCaption;
set lineCaption (bool value)

Sets the line caption of the annotation.

Implementation

set lineCaption(bool value) {
  final PdfAnnotationHelper helper = PdfAnnotationHelper.getHelper(this);
  if (!helper.isLoadedAnnotation) {
    _lineCaption = value;
  } else {
    helper.dictionary!.setBoolean(PdfDictionaryProperties.cap, value);
  }
}