IgnorePrinterMetrics
LayoutOptions.IgnorePrinterMetrics property
Hämtar eller anger om kompatibilitetsalternativet “Använd skrivarmått för att utforma dokument” ignoreras. Standard ärsann
.
public bool IgnorePrinterMetrics { get; set; }
Exempel
Visar hur man ignorerar alternativet “Använd skrivarmått för att utforma dokumentet”.
Document doc = new Document(MyDir + "Rendering.docx");
doc.LayoutOptions.IgnorePrinterMetrics = false;
doc.Save(ArtifactsDir + "Document.IgnorePrinterMetrics.docx");
Se även
- class LayoutOptions
- namnutrymme Aspose.Words.Layout
- hopsättning Aspose.Words