Skip to content
ComPDF
DemoFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub
Guides

Overview

ComPDF for Flutter provides a high-quality, fast, accurate, and feature-rich PDF viewer. It offers developers a quick and configurable way to integrate a PDF viewer into Flutter applications on Android and iOS platforms.

You can configure the page scrolling direction, scrolling mode, supported usage modes, and more through the CPDFConfiguration object.

Guides

View Modes

How to set the default mode displayed when opening a PDF view, and configure switchable modes.

Display Modes

How to configure single page, double page, book, flip, or scroll direction, as well as cropping and viewing modes?

Zooming

How to set the initial zoom factor.

Themes

How to set a preset theme.

Page Navigation

How to navigate to a specified page number and get the current page number.

Highlight Form Fields and Hyperlinks

How to highlight form fields and hyperlink annotations.

Text Search and Selection

How to search for specific text in a PDF document using the API.

Page Text Extraction

How to extract full-page text, rectangular text, and text lines from a PDF page.

PDF Page to Image

How to use the API to render a specified PDF page as an image.

Extract Images

How to extract image resources from all pages or selected pages.

Page Thumbnails

How to generate and cache PDF page thumbnails.

Outlines

How to get, add, edit, and delete outlines.

Bookmarks

How to get, add, edit, and delete bookmarks.