Skip to content
Guides

Get the Selected Content

Users can drag the mouse or use their fingers to select text and images in the PDF document, obtaining the selected content in real-time.

This example shows how to Get the selected content:

C#
// Extract the selected text.
string myText = myCPDFView.GetSelectedText();

// Extract the selected image.
Dictionary<int, List<Bitmap>> myBitmapList  = myCPDFView.GetSelectedImages();