FlatteningAnnotations
Contenu
[
Cacher
]FlatteningAnnotations()
Aplatit toutes les annotations du document.
public void FlatteningAnnotations()
Exemples
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.FlatteningAnnotations();
editor.Save(example_out.pdf");
Voir également
- class PdfAnnotationEditor
- espace de noms Aspose.Pdf.Facades
- Assemblée Aspose.PDF
FlatteningAnnotations(FlattenSettings)
Aplatit toutes les annotations du document.
public void FlatteningAnnotations(FlattenSettings flattenSettings)
Paramètre | Taper | La description |
---|---|---|
flattenSettings | FlattenSettings | Spécifie les modes d’aplatissement. |
Voir également
- class FlattenSettings
- class PdfAnnotationEditor
- espace de noms Aspose.Pdf.Facades
- Assemblée 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 | Taper | La description |
---|---|---|
start | Int32 | La page de démarrage. |
end | Int32 | Puis page de fin. |
annotType | AnnotationType[] | Les types d’annotation 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 également
- enum AnnotationType
- class PdfAnnotationEditor
- espace de noms Aspose.Pdf.Facades
- Assemblée Aspose.PDF