Table of Contents

Method FirstPageNumber

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

FirstPageNumber(string)

Adds the number of first section page to the current paragraph.

public TextPageNumber FirstPageNumber(string sectionName)

Parameters

sectionName string

The section name.

Returns

TextPageNumber

The added page number.

Remarks

The section sectionName may not exist when this method is called. However, the section must exist when the document is rendered. Otherwise, the LayoutException will be thrown during the rendering. Use the Section(string) method to add a section.

This method does not complete the current paragraph. I.e., a next text chunk will be placed in the same paragraph.

Exceptions

ArgumentNullException

sectionName is null.