src/providers/Azos.Media/PDF/PdfWriter.cs
/// <summary>
/// Writes PDF header into file stream
/// </summary>
/// <param name="root">PDF document root</param>
Writes PDF header into file stream
Writes PDF header into file stream
internal void Write(PdfRoot root)
    {
      writeBeginObject(root.ObjectId);
      writeBeginDictionary();
      writeDictionaryEntry("/Type", "/Catalog");
      writeDictionaryEntry("/Pages", root.PageTree.GetReference());
      writeDictionaryEntry("/Outlines", root.Outlines.GetReference());
      writeEndDictionary();
      writeEndObject();
    }
internal void Write ( PdfRoot root ) { writeBeginObject ( root . ObjectId ) ; writeBeginDictionary ( ) ; writeDictionaryEntry ( " " , " " ) ; writeDictionaryEntry ( " " , root . PageTree . GetReference ( ) ) ; writeDictionaryEntry ( " " , root . Outlines . GetReference ( ) ) ; writeEndDictionary ( ) ; writeEndObject ( ) ; }
Writes PDF header into file stream
Writes PDF header into file stream
root
PdfRoot
PDF document root
PDF document root