topIndex property

int get topIndex

Gets the top index (/TI).

Implementation

int get topIndex {
  if (dictionary.containsKey(PdfNameTokens.ti)) {
    final t = dictionary[PdfNameTokens.ti];
    if (t is PdfNum) return t.value.toInt();
  }
  return 0;
}
set topIndex (int value)

Implementation

set topIndex(int value) {
  dictionary[PdfNameTokens.ti] = PdfNum(value);
}