API Reference
Class
PdfSanitizationOptions
Explicit policy for removing active content and embedded payloads from a PDF.
Inheritance
- Object
- PdfSanitizationOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method PdfDocument.Sanitize
Constructors
public PdfSanitizationOptions() #Inherited Methods
Properties
public ISet<String> AllowedActionTypes { get; } #Action types that may remain. Values are PDF action names without a leading slash.
public ISet<String> AllowedUriSchemes { get; } #Absolute URI schemes that may remain. Relative URI targets are preserved.
public PdfEmbeddedFileSanitizationMode EmbeddedFiles { get; set; } #How embedded and associated files are removed. Defaults to removal without retaining payload bytes.
public Boolean RemoveRichMedia { get; set; } #When true, rich-media and payload-bearing annotations are removed from page annotation arrays.