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);

أنظر أيضا