destination property

PdfDestination? get destination

Gets the named destination's destination.

Implementation

PdfDestination? get destination {
  if (_isLoaded) {
    return _obtainDestination();
  } else {
    return _destination;
  }
}
set destination (PdfDestination? value)

Sets the named destination's destination. The destination property has to be mentioned as multiples of 100. If we mention as 2, the zoom value will be 200.

Implementation

set destination(PdfDestination? value) {
  if (value != null) {
    _destination = value;
    _helper.dictionary!.setProperty(PdfDictionaryProperties.d, _destination);
  }
}