public void Write(PdfObject obj) { Debug.Assert(obj != null); if (obj.IsIndirect) { indirectObjects.Push(obj); obj.WriteIndirect(this); indirectObjects.Pop(); } else { obj.Write(this); } }
public void Write(PdfObject obj) { #if DEBUG dbugLineCheck(); #endif Debug.Assert(obj != null); if (obj.IsIndirect) { indirectObjects.Push(obj); obj.WriteIndirect(this); indirectObjects.Pop(); } else { obj.Write(this); } }