Table of Contents

Method LastPageNumber

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

LastPageNumber(string)

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

public TextPageNumber LastPageNumber(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.