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

AddLocalDestinations() private méthode

private AddLocalDestinations ( PdfDocument.Destination>.SortedDictionary desto ) : void
desto PdfDocument.Destination>.SortedDictionary
Résultat void
        internal void AddLocalDestinations(SortedDictionary<string,PdfDocument.Destination> desto)
        {
            foreach (String name in desto.Keys) {
                PdfDocument.Destination dest = desto[name];
                PdfDestination destination = dest.destination;
                if (dest.reference == null)
                    dest.reference = PdfIndirectReference;
                if (destination == null)
                    AddToBody(new PdfString("invalid_" + name), dest.reference);
                else
                    AddToBody(destination, dest.reference);
            }
        }