public PageCollectionBuilder(Compositor compositor) { _compositor = compositor; _ref = compositor.IndirectObject(_me = compositor.Dictionary("Pages") .Set("Kids", _kids = new ArrayObject()) .Set("Count", _count = new IntegerNumberObject()) ); }
private bool WriteObject(ArrayObject obj) { if (obj == null) { return(false); } Write("[ "); for (int i = 0; i < obj.Objects.Count; i++) { WriteObject(obj.Objects[i]); Write(" "); } Write("]"); return(true); }
private bool WriteObject(ArrayObject obj) { if (obj == null) return false; Write("[ "); for (int i = 0; i < obj.Objects.Count; i++) { WriteObject(obj.Objects[i]); Write(" "); } Write("]"); return true; }