Allows to place any text or page numbers at the top and bottom of PDF page

Namespace:  SautinSoft
Assembly:  SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 5.1.2.13

Syntax

      
 C#  Visual Basic 
public PdfVision..::.CPageNumbers PageNumbers { get; set; }
Public Property PageNumbers As PdfVision..::.CPageNumbers

Remarks

Also you may specify custom font name, size and color for page numbers and text.

This text or page numbers will placed on each page of PDF document.

Examples

CopyC#
SautinSoft.PdfVision v = new SautinSoft.PdfVision();
v.PageNumbers.FontSize = 12;
v.PageNumbers.FontColor.SetRGB(0, 0, 0);
//Place text at the top of each page
v.PageNumbers.PageNumbersInTop = "Web page snapshots at " + DateTime.Now.ToString();
//Place page numbers at the bottom of each page
v.PageNumbers.PageNumbersInBottom = "Page {page} of {numpages}";
CopyVB.NET
Dim v As New SautinSoft.PdfVision()
v.PageNumbers.FontSize = 12
v.PageNumbers.FontColor.SetRGB(0, 0, 0)
'Place text at the top of each page
v.PageNumbers.PageNumbersInTop = "Web page snapshots at " & DateTime.Now.ToString()
'Place page numbers at the bottom of each page
v.PageNumbers.PageNumbersInBottom = "Page {page} of {numpages}"

See Also