PdfAnnotationEditor.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 | Tipo | Descripción |
|---|---|---|
| xmlOutputStream | Stream | El flujo XFDF de salida. |
| start | Int32 | Página de inicio desde la cual se exportarán las anotaciones del documento. |
| end | Int32 | Página final a la cual se exportarán las anotaciones del documento. |
| annotTypes | String[] | El arreglo de tipos de anotación que necesitan ser exportados. |
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
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado 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 | Tipo | Descripción |
|---|---|---|
| xmlOutputStream | Stream | El flujo XFDF de salida. |
| start | Int32 | Página de inicio desde la cual se exportarán las anotaciones del documento. |
| end | Int32 | Página final a la cual se exportarán las anotaciones del documento. |
| annotTypes | AnnotationType[] | El arreglo de tipos de anotación que necesitan ser exportados. |
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
- clase PdfAnnotationEditor
- espacio de nombres Aspose.Pdf.Facades
- ensamblado Aspose.PDF