FlatteningAnnotations

FlatteningAnnotations()

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


FlatteningAnnotations(FlattenSettings)

Aplana todas las anotaciones en el documento.

public void FlatteningAnnotations(FlattenSettings flattenSettings)
ParámetroEscribeDescripción
flattenSettingsFlattenSettingsEspecifica los modos de aplanamiento.

Ver también


FlatteningAnnotations(int, int, AnnotationType[])

Aplana las anotaciones de los tipos especificados.

public void FlatteningAnnotations(int start, int end, AnnotationType[] annotType)
ParámetroEscribeDescripción
startInt32La página de inicio.
endInt32Luego página final.
annotTypeAnnotationType[]Los tipos de anotaciones deben aplanarse.

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