ExportAnnotationsXfdf
محتويات
[
يخفي
]ExportAnnotationsXfdf(Stream, int, int, string[])
تصدير محتوى أنواع التعليقات التوضيحية المحددة إلى XFDF
public void ExportAnnotationsXfdf(Stream xmlOutputStream, int start, int end, string[] annotTypes)
معامل | يكتب | وصف |
---|---|---|
xmlOutputStream | Stream | تيار XFDF الناتج. |
start | Int32 | صفحة البداية التي سيتم منها تصدير التعليقات التوضيحية للمستند. |
end | Int32 | صفحة النهاية التي سيتم تصدير التعليقات التوضيحية للمستند إليها. |
annotTypes | String[] | يجب تصدير مصفوفة أنواع التعليقات التوضيحية. |
أمثلة
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);
}
أنظر أيضا
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF
ExportAnnotationsXfdf(Stream, int, int, AnnotationType[])
تصدير محتوى أنواع التعليقات التوضيحية المحددة إلى XFDF
public void ExportAnnotationsXfdf(Stream xmlOutputStream, int start, int end,
AnnotationType[] annotTypes)
معامل | يكتب | وصف |
---|---|---|
xmlOutputStream | Stream | تيار XFDF الناتج. |
start | Int32 | صفحة البداية التي سيتم منها تصدير التعليقات التوضيحية للمستند. |
end | Int32 | صفحة النهاية التي سيتم تصدير التعليقات التوضيحية للمستند إليها. |
annotTypes | AnnotationType[] | يجب تصدير مصفوفة أنواع التعليقات التوضيحية. |
أمثلة
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);
}
أنظر أيضا
- enum AnnotationType
- class PdfAnnotationEditor
- مساحة الاسم Aspose.Pdf.Facades
- المجسم Aspose.PDF