VI

Delphi

DX Pdfium4D - Delphi Cross-Platform Wrapper for Google's PDFium

DX Pdfium4D is a comprehensive Delphi wrapper for Google's PDFium library, providing object-oriented classes for PDF document handling in cross-platform Delphi applications.

The project includes DX PDF Viewer demo applications for both Fire...

Description

DX Pdfium4D is a comprehensive Delphi wrapper for Google's PDFium library, providing object-oriented classes for PDF document handling in cross-platform Delphi applications.

The project includes DX PDF Viewer demo applications for both FireMonkey (FMX) and VCL, which serve as practical demonstrations of the wrapper's capabilities and showcase modern Delphi development practices.

Why DX Pdfium4D?

✅ Type-safe, object-oriented API - No more dealing with raw C pointers
✅ Automatic resource management - Destructors handle PDFium cleanup automatically
✅ Cross-platform - Windows, macOS, Android, iOS
✅ FMX and VCL support - Works with both FireMonkey and VCL frameworks
✅ Well-documented - Comprehensive documentation and examples
✅ Production-ready - Includes unit tests and demo applications
✅ MIT Licensed - Free for commercial and open-source projects

Features

DX Pdfium4D Wrapper

???? Object-Oriented API

High-level Delphi classes wrapping PDFium C-API
Automatic PDFium resource cleanup in destructors
Type-safe, exception-based error handling
???? PDF Document Support

Load PDF documents from files or memory
Extract metadata (title, author, subject, keywords)
PDF/A compliance detection
Page count and dimensions
???? Rendering

High-quality bitmap rendering
Configurable DPI support
Platform-independent rendering
Separate renderers for FMX and VCL
???? Cross-Platform

Windows (Win32, Win64) - FMX and VCL
macOS (Intel, Apple Silicon) - FMX
Android - FMX
iOS - FMX
DX PDF Viewer Applications

✨ Two Implementations

FMX Viewer - Cross-platform (Windows, macOS, Android, iOS)
VCL Viewer - Windows-only with native Windows controls
✨ Minimalistic Design

Clean, distraction-free interface
Focus on content, not chrome
Modern Material Design-inspired UI (FMX)
Native Windows look and feel (VCL)
???? User-Friendly

Drag & Drop PDF files to open
Click anywhere to browse for files
Keyboard shortcuts (Ctrl+O to open, arrow keys to navigate)
PDF/A detection and metadata display
⚡ Performance

Background rendering for smooth UI
Efficient memory management
Fast page switching
Proper aspect ratio preservation
Centered display with visual feedback

Additional Information