private void SetXrefPartialObject(int idx, PdfObject obj) { if (!partial || idx < 0) return; xrefObj[idx] = obj; }