PdfAnnotationEditor.FlatteningAnnotations
Contenido
[
Ocultar
]AplanarAnotaciones()
Aplana todas las anotaciones en el documento.
public void FlatteningAnnotations()
Ejemplos
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
editor.FlatteningAnnotations();
editor.Save(example_out.pdf");
Ver También
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado Aspose.PDF
AplanarAnotaciones(FlattenSettings)
Aplana todas las anotaciones en el documento.
public void FlatteningAnnotations(FlattenSettings flattenSettings)
| Parámetro | Tipo | Descripción |
|---|---|---|
| flattenSettings | FlattenSettings | Especifica los modos de aplanamiento. |
Ver También
- clase FlattenSettings
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado Aspose.PDF
AplanarAnotaciones(int, int, AnnotationType[])
Aplana las anotaciones de los tipos especificados.
public void FlatteningAnnotations(int start, int end, AnnotationType[] annotType)
| Parámetro | Tipo | Descripción |
|---|---|---|
| start | Int32 | La página de inicio. |
| end | Int32 | La página final. |
| annotType | AnnotationType[] | Los tipos de anotaciones que deben ser aplanados. |
Ejemplos
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes ={AnnotationType.Line, AnnotationType.FreeText};
editor.FlatteningAnnotations(1, 2, annotTypes);
editor.Save("example_out.pdf");
Ver También
- enum AnnotationType
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado Aspose.PDF