iTextSharp.text.pdf.PdfWriter.BuildStructTreeRootForTagged C# (CSharp) Méthode

BuildStructTreeRootForTagged() protected méthode

protected BuildStructTreeRootForTagged ( PdfDictionary catalog ) : void
catalog PdfDictionary
Résultat void
        protected void BuildStructTreeRootForTagged(PdfDictionary catalog)
        {
            if (tagged) {
                this.StructureTreeRoot.BuildTree();
                catalog.Put(PdfName.STRUCTTREEROOT, structureTreeRoot.Reference);
                PdfDictionary mi = new PdfDictionary();
                mi.Put(PdfName.MARKED, PdfBoolean.PDFTRUE);
                if (userProperties)
                    mi.Put(PdfName.USERPROPERTIES, PdfBoolean.PDFTRUE);
                catalog.Put(PdfName.MARKINFO, mi);
            }
        }