Exemple #1
0
 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)
 {
     Debug.Assert(obj != null);
     if (obj.IsIndirect)
     {
         indirectObjects.Push(obj);
         obj.WriteIndirect(this);
         indirectObjects.Pop();
     }
     else
     {
         obj.Write(this);
     }
 }
Exemple #3
0
        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);
            }
        }