You can add a text or image watermark using the built-in annotation toolbar or programmatically via the TextBox
annotation.
Learn more about the TextBox
annotation in the API documentation.
True redaction is not supported. However, as a workaround, you can cover sensitive content with a solid rectangle and save the file in Image mode. This method ensures the original content is permanently removed, making it unrecoverable.
For programmatic redaction, refer to the AnnotationManager
API.
While this feature is not available in this demo, the Dynamsoft Document Viewer SDK provides options such as compression type, page size, metadata (author, title), password protection, and annotation handling (None, Image, Metadata, Flatten) when saving a PDF.
For detailed settings, refer to the SavePdfSettings
interface in the API documentation.
While this feature is not available in this demo, the Dynamsoft Document Viewer SDK provides the option of setting a password for your PDF using the SavePdfSettings
interface. This ensures that only authorized users can open the saved PDF.
Discover more about SavePdfSettings
Interface.
Dynamsoft Document Viewer uses a built-in rasterizer to render text-based PDFs, though the text is not selectable in the viewer. When saving, you can retain the searchable text layer or convert the entire document into an image format.
Spoiler Alert: The text selection feature is coming soon.
Dynamsoft Document Viewer does not support direct modification of built-in elements. However, you can use UIConfig
to create custom elements that replace the default ones and define their behavior to meet specific requirements.
Read more about UIConfig
here.
The viewer will still load the file if the PDF has unsupported annotations (e.g., media or attachments). Unsupported annotations may either not be displayed or be visible but not editable in the UI.
In these instances, the SDK will categorize the annotation type as either Incomplete or Unknown.