Table of Contents

Class RtfPageNumber

Namespace
iTextSharp.text.rtf.field
Assembly
iTextSharp.LGPLv2.Core.dll

The RtfPageNumber provides the page number field in rtf documents. @version $Revision: 1.4 $ @author Mark Hall (Mark.Hall@mail.room3b.eu) @author Steffen.Stundzig@smb-tec.com

public class RtfPageNumber : RtfField, IElement, IRtfBasicElement, IRtfElementInterface
Inheritance
RtfPageNumber
Implements
Inherited Members

Constructors

RtfPageNumber()

Constructs a RtfPageNumber. This can be added anywhere to add a page number field.

public RtfPageNumber()

RtfPageNumber(Font)

Constructs a RtfPageNumber with a specified Font. This can be added anywhere to add a page number field.

public RtfPageNumber(Font font)

Parameters

font Font

RtfPageNumber(RtfDocument)

Constructs a RtfPageNumber object.

public RtfPageNumber(RtfDocument doc)

Parameters

doc RtfDocument

The RtfDocument this RtfPageNumber belongs to

RtfPageNumber(RtfDocument, Font)

Constructs a RtfPageNumber object with a specific font.

public RtfPageNumber(RtfDocument doc, Font font)

Parameters

doc RtfDocument

The RtfDocument this RtfPageNumber belongs to

font Font

The Font to use

Methods

WriteFieldInstContent(Stream)

Writes the field instruction content @

protected override void WriteFieldInstContent(Stream oupt)

Parameters

oupt Stream

WriteFieldResultContent(Stream)

Writes the field result content @

protected override void WriteFieldResultContent(Stream oupt)

Parameters

oupt Stream