iTextSharp.text.pdf.PdfOutline.AddKid C# (CSharp) Метод

AddKid() публичный метод

public AddKid ( PdfOutline outline ) : void
outline PdfOutline
Результат void
        public void AddKid(PdfOutline outline)
        {
            kids.Add(outline);
        }

Usage Example

Пример #1
0
        // methods

        /** Helper for the constructors.
         * @param parent the parent outline
         * @param title the title for this outline
         * @param open <CODE>true</CODE> if the children are visible
         */
        internal void InitOutline(PdfOutline parent, string title, bool open)
        {
            this.open   = open;
            this.parent = parent;
            writer      = parent.writer;
            Put(PdfName.TITLE, new PdfString(title, PdfObject.TEXT_UNICODE));
            parent.AddKid(this);
            if (destination != null && !destination.HasPage()) // bugfix Finn Bock
            {
                SetDestinationPage(writer.CurrentPage);
            }
        }
All Usage Examples Of iTextSharp.text.pdf.PdfOutline::AddKid