ExportAnnotationsXfdf
Contenido
[
Ocultar
]ExportAnnotationsXfdf(Stream, int, int, string[])
Exporta el contenido de los tipos de anotación especificados a XFDF
public void ExportAnnotationsXfdf(Stream xmlOutputStream, int start, int end, string[] annotTypes)
Parámetro | Escribe | Descripción |
---|---|---|
xmlOutputStream | Stream | El flujo XFDF de salida. |
start | Int32 | Página de inicio desde la que se exportarán las anotaciones del documento. |
end | Int32 | Página final a la que se exportarán las anotaciones del documento. |
annotTypes | String[] | Es necesario exportar la matriz de tipos de anotaciones. |
Ejemplos
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
string[] annotTypes = new string[] {"Text", "Highlight"};
using (Stream stream = File.Create("example.xfdf"))
{
editor.ExportAnnotationsXfdf(stream, 1, 2, annotTypes);
}
Ver también
- class PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- asamblea Aspose.PDF
ExportAnnotationsXfdf(Stream, int, int, AnnotationType[])
Exporta el contenido de los tipos de anotaciones especificados a XFDF
public void ExportAnnotationsXfdf(Stream xmlOutputStream, int start, int end,
AnnotationType[] annotTypes)
Parámetro | Escribe | Descripción |
---|---|---|
xmlOutputStream | Stream | El flujo XFDF de salida. |
start | Int32 | Página de inicio desde la que se exportarán las anotaciones del documento. |
end | Int32 | Página final a la que se exportarán las anotaciones del documento. |
annotTypes | AnnotationType[] | Es necesario exportar la matriz de tipos de anotaciones. |
Ejemplos
PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf("example.pdf");
AnnotationType[] annotTypes = new AnnotationType[] {AnnotationType.Text, AnnotationType.Highlight};
using (Stream stream = File.Create("example.xfdf"))
{
editor.ExportAnnotationsXfdf(stream, 1, 2, annotTypes);
}
Ver también
- enum AnnotationType
- class PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- asamblea Aspose.PDF