PdfAnnotationEditor.FlatteningAnnotations
Contenu
[
Cacher
]FlatteningAnnotations()
Aplatit toutes les annotations dans le document.
public void FlatteningAnnotations()
Exemples
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.FlatteningAnnotations();
editor.Save(example_out.pdf");
Voir aussi
- classe PdfAnnotationEditor
- espace de noms Aspose.Pdf.Facades
- assembly Aspose.PDF
FlatteningAnnotations(FlattenSettings)
Aplatit toutes les annotations dans le document.
public void FlatteningAnnotations(FlattenSettings flattenSettings)
| Paramètre | Type | Description |
|---|---|---|
| flattenSettings | FlattenSettings | Spécifie les modes d’aplatissement. |
Voir aussi
- classe FlattenSettings
- classe PdfAnnotationEditor
- espace de noms Aspose.Pdf.Facades
- assembly Aspose.PDF
FlatteningAnnotations(int, int, AnnotationType[])
Aplatit les annotations des types spécifiés.
public void FlatteningAnnotations(int start, int end, AnnotationType[] annotType)
| Paramètre | Type | Description |
|---|---|---|
| start | Int32 | La page de début. |
| end | Int32 | La page de fin. |
| annotType | AnnotationType[] | Les types d’annotations doivent être aplatis. |
Exemples
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes ={AnnotationType.Line, AnnotationType.FreeText};
editor.FlatteningAnnotations(1, 2, annotTypes);
editor.Save("example_out.pdf");
Voir aussi
- enum AnnotationType
- classe PdfAnnotationEditor
- espace de noms Aspose.Pdf.Facades
- assembly Aspose.PDF