IgnorePrinterMetrics

LayoutOptions.IgnorePrinterMetrics property

يحصل على أو يعين مؤشرًا لما إذا كان سيتم تجاهل خيار التوافق “استخدام مقاييس الطابعة لتخطيط المستند”. الافتراضي هوحقيقي .

public bool IgnorePrinterMetrics { get; set; }

أمثلة

يوضح كيفية تجاهل خيار “استخدام مقاييس الطابعة لتخطيط المستند”.

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

doc.LayoutOptions.IgnorePrinterMetrics = false;

doc.Save(ArtifactsDir + "Document.IgnorePrinterMetrics.docx");

أنظر أيضا