Skip to content

Latest commit

 

History

History

Pages and Navigation

Pages and Navigation

This group contains samples that show how to add or remove pages from your PDF documents, create outline (also known as "bookmarks") for a PDF document. There are also samples that show how to add a link from one page to another or a hyperlink.

Don't miss all other samples.

Add new pages

This samples shows how to add or insert pages to your PDF documents.

Copy text, paths and images

This sample shows how to copy page objects (text, paths and images) to a new document.

Copy pages

This sample shows how to copy pages from one PDF document to another.

Create and read named destinations in PDF documents

This sample shows how to work with named destinations in PDF documents.

Edit PDF page content

This sample shows how to modify PDF page content.

Extract text, paths and images

This sample shows how to extract page objects (text, paths and images) from PdfDocument. The sample draws extracted objects on the drawing surface of a System.Drawing.Graphics.

Extract pages

This sample shows how to extract pages from one PDF document to another.

Header and Footer

This sample shows how to add common header and footer to PDF document.

Create hyperlink

This sample shows how to add hyperlink on a page of your PDF document using PdfPage.AddHyperlink() method.

Create link to page

This samples shows how to add a link to a document page using PdfPage.AddLinkToPage(..) method.

Move pages

This sample shows how to move (reorder) pages in a PDF document.

Outline (bookmarks)

This sample shows how to build PDF document's outline (also known as "bookmarks") using PdfOutlineItem.AddChild method.

Outline (bookmarks) with styles

This sample shows how to build PDF document's outline (also known as "bookmarks") with colored, bold and italic items.

Page Labels

This sample shows how add Page Labels to PDF document.

Page parameters

This sample shows how to setup a page size, orientation or rotation.

Remove pages

This sample shows how to remove pages from your PDF documents.

Swap pages

This sample shows how to swap pages (interchange positions of two pages) in a PDF document.

Extract text from link target

This sample shows how to retrieve a link information and extract text starting from the link target.