ExportParagraphGraphicsToArtifact

PdfSaveOptions.ExportParagraphGraphicsToArtifact property

الحصول على قيمة أو تعيينها لتحديد ما إذا كان يجب وضع علامة على رسم الفقرة كقطعة أثرية.

public bool ExportParagraphGraphicsToArtifact { get; set; }

ملاحظات

القيمة الافتراضية هيخطأ شنيع ورسومات الفقرات (التسطير، إبراز النص، وما إلى ذلك) سيتم تمييزها على أنها “Span” في البنية المنطقية للمستند.

عندما تكون القيمةحقيقي سيتم وضع علامة على رسومات الفقرة على أنها “قطعة أثرية”.

يتم تجاهل هذه القيمة عندماExportDocumentStructure يكونخطأ شنيع .

أمثلة

يوضح كيفية تصدير رسومات الفقرة كمنتج (تسطير، إبراز النص، وما إلى ذلك).

Document doc = new Document(MyDir + "PDF artifacts.docx");

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.ExportDocumentStructure = true;
saveOptions.ExportParagraphGraphicsToArtifact = true;
saveOptions.TextCompression = PdfTextCompression.None;

doc.Save(ArtifactsDir + "PdfSaveOptions.ExportParagraphGraphicsToArtifact.pdf", saveOptions);

أنظر أيضا