PdfAnnotationFlattenOptions Class
The options of PdfPage.FlattenAnnotations and PdfDocument.FlattenAnnotations.
public sealed class PdfAnnotationFlattenOptionsConstructors
| Name | Description |
|---|---|
| PdfAnnotationFlattenOptions() |
PdfAnnotationFlattenOptions()
public PdfAnnotationFlattenOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Default | Gets the default options: the markup annotations shown on the screen are flattened. |
| Filter | Gets the function that selects the annotations to flatten, or null for the markup annotations (PdfMarkupAnnotation) except the redaction annotations, which PdfDocument.ApplyRedactions applies. The pop-up annotations are never drawn: they are removed with their parent. The widgets of the signed signature fields are never flattened. |
| Intent | Gets the use the flattened page is for: the annotations hidden for it are removed without being drawn (PdfAnnotationFlags.Hidden, PdfAnnotationFlags.NoView for the screen, the annotations without PdfAnnotationFlags.Print for printing). The default is PdfRenderIntent.View. |
Gets the default options: the markup annotations shown on the screen are flattened.
public static PdfAnnotationFlattenOptions Default { get; }Property value
Gets the function that selects the annotations to flatten, or null for the markup annotations (PdfMarkupAnnotation) except the redaction annotations, which PdfDocument.ApplyRedactions applies. The pop-up annotations are never drawn: they are removed with their parent. The widgets of the signed signature fields are never flattened.
public Func<PdfAnnotation, bool>? Filter { get; init; }Property value
Gets the use the flattened page is for: the annotations hidden for it are removed without being drawn (PdfAnnotationFlags.Hidden, PdfAnnotationFlags.NoView for the screen, the annotations without PdfAnnotationFlags.Print for printing). The default is PdfRenderIntent.View.
public PdfRenderIntent Intent { get; init; }