Foxit PDF SDK For Node.js.
Foxit PDF SDK v11.0 Release Date: 31 July 2025
==================================================================
---
---
SetLogFile() method now supports stream callbacksFlushLog() method for immediate log write-out---
- Enhanced Thread Safety:
- Document-level thread safety improvements
- Library::Initialize() adds optional parameter bool enable_js_xfa_threadsafety = false for JavaScript and XFA thread safety
- New Sanitize() Method: Automatically detects and removes hidden or sensitive info
- RemoveHiddenInfo() Method: Allows selective cleanup of metadata, scripts, etc.
- EnableHandleTransparency() Method: Removes transparency during PDF/A conversion for compliance
---
e_TypeInlines: Correct rendering of small inline images (e.g., stamps/logos)e_TypeEmptyMarkedContent: Preserves tag structure of empty contentSetScreenDPIScale() for high-DPI scaling of notes SetRenderLayer() to control which layers are rendered ClearClips() to reset clipping regions StartRenderBitmap() ContentFlag enum values for highlight-only renderingSetForegroundColor() and SetForegroundColorMode() for text/path color control ImageType.e_WEBP) ConvertToMono() supports conversion to 1-bit monochrome---
- CreateFromName() and CreateFromNameW() for named object creation
- PDFArray::AddReference() to insert reference entries
- CreateFromString() enhanced to accept length parameter
---
PageBasicInfoArray: Represents lightweight info for all pages GetAllPageBasicInfo(): Bulk retrieval of page basicse_ExtractPagesOptionBookmark for StartExtractPages() e_InsertDocOptionBookmark for InsertDocument() InsertDocument() now supports optional bookmark_title parameter---
- Directional font sizing via TextState::font_vertical_size and font_horizontal_size
- Font(StreamCallback* stream) constructor now supports font stream input
- SplitTextsInRectangle() allows character-level separation of text in specified areas
---
- UnregisterSignatureCallback() to restore default SDK signature handler
- AddPagingSealSignature() now includes to_check_permission flag for permission validation
---
- LayerNode::GetAnnots() retrieves annotations per layer
- LayerTree::GetOCGsByPageIndex() supports page-based OCG access
- SetOCGStateAction class added for batch visibility control
---
StartRecognizeForm() overload allows control over tooltip generationGetXMLContent() provides access to internal XFA XML ExportData() supports stream-based output DocProviderCallback::SetFocus() adds re-layout parameter for layout change notification---
OCRConvertTo() supports direct conversion to formats (DOCX, RTF, etc.) OCRCallback class and SetOCRCallback() method to monitor and terminate OCR jobs is_sequentially_process parameter added to switch between sequential/parallel modesto_hide_header and to_hide_footer control header/footer visibility to_deny_local_file_access enhances security during HTML conversion---
SetTileSize() for tile control e_ImageCompressQualityLossless option e_ImageCompressZip MonoImageSettingsOptimizeScannedPDF() for scan-heavy file compression ComputeAuditSpace() calculates optimization potential SetSubsetAllEmFonts() for unembedded font subsetting---
- GetNewPageBasicInfo() callback added to retrieve rendered table height on new pages
---
getGraphicsObjectPosition returns 0 and transparency setting failsfoxit::pdf::interform::Field::SetValue after processing 30 pagesBorderInfo is not setAddText with Arabic text doesn't match expected rendering effectPDFPage parsing returns empty for certain documents that work in WPS and AdobeTextPage constructor performance to match version 9.0 speedUpdateHeaderFooter API only updates one header/footer and removes others@foxitsoftware/foxit-pdf-sdk-node package"any unknown error occurs"bookMark.Title ends with extra null characterpdfprint show parameter errorStartImportPages imports blank pagesStartImportPages never finishes for certain documents