PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Users can drag the mouse or use their fingers to select text in the PDF document, obtaining the selected content in real-time.
This example shows how to Get the selected content:
// Extract the selected text
let currentSelection = pdfview.currentSelection
let currentText = currentSelection?.string()// Extract the selected text
CPDFSelection *currentSelection = pdfView.currentSelection;
NSString *currentText = [currentSelection string];