iTextSharp.text.pdf.PdfWriter.PdfTrailer.PdfTrailer C# (CSharp) Method

PdfTrailer() public method

public PdfTrailer ( int size, long offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, long prevxref ) : System
size int
offset long
root PdfIndirectReference
info PdfIndirectReference
encryption PdfIndirectReference
fileID PdfObject
prevxref long
return System
            public PdfTrailer(int size, long offset, PdfIndirectReference root, PdfIndirectReference info, PdfIndirectReference encryption, PdfObject fileID, long prevxref)
            {
                this.offset = offset;
                Put(PdfName.SIZE, new PdfNumber(size));
                Put(PdfName.ROOT, root);
                if (info != null) {
                    Put(PdfName.INFO, info);
                }
                if (encryption != null)
                    Put(PdfName.ENCRYPT, encryption);
                if (fileID != null)
                    Put(PdfName.ID, fileID);
                if (prevxref > 0)
                    Put(PdfName.PREV, new PdfNumber(prevxref));
            }
PdfWriter.PdfTrailer