Redact PdfReader

This commit is contained in:
Svetlana Kulikova
2025-08-19 17:39:36 +03:00
parent e0dee3720f
commit 2a6c50db89
11 changed files with 163 additions and 1 deletions

View File

@ -178,6 +178,10 @@ WASM_EXPORT int UnmergePages(CDrawingFile* pFile)
{
return pFile->UnmergePages() ? 1 : 0;
}
WASM_EXPORT int RedactPage(CDrawingFile* pFile, int nPageIndex, double* arrRedactBox, int nLengthX4, BYTE* data, int size)
{
return pFile->RedactPage(nPageIndex, arrRedactBox, nLengthX4, data, size) ? 1 : 0;
}
WASM_EXPORT void* GetImageBase64(CDrawingFile* pFile, int rId)
{