iTextSharp.text.Section.AddSection C# (CSharp) Метод

AddSection() публичный Метод

Adds a Section to this Section and returns it.
public AddSection ( float indentation, string title, int numberDepth ) : Section
indentation float the indentation of the new section
title string the title of the new section
numberDepth int the numberDepth of the section
Результат Section
        public virtual Section AddSection(float indentation, string title, int numberDepth) {
            return AddSection(indentation, new Paragraph(title), numberDepth);
        }
    

Same methods

Section::AddSection ( Paragraph title ) : Section
Section::AddSection ( Paragraph title, int numberDepth ) : Section
Section::AddSection ( float indentation, Paragraph title ) : Section
Section::AddSection ( float indentation, Paragraph title, int numberDepth ) : Section
Section::AddSection ( float indentation, string title ) : Section
Section::AddSection ( string title ) : Section
Section::AddSection ( string title, int numberDepth ) : Section

Usage Example

Пример #1
0
 public static Section GetSection(Section parent, Properties attributes)
 {
     Section section = parent.AddSection("");
     SetSectionParameters(section, attributes);
     return section;
 }