PDF text selection using JavaScript
Nutrient Web SDK comes with great platform-native PDF text selection, which is especially useful when working with text-heavy documents like scientific papers. Get additional resources by visiting our JavaScript PDF text extraction guide.
import PSPDFKit from "@nutrient-sdk/viewer";
export function load(defaultConfiguration) { return PSPDFKit.load({ ...defaultConfiguration, enableRichText: () => false, }).then((instance) => { console.log("Nutrient Web SDK successfully loaded!!", instance);
return instance; });}
This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.