IgnorePrinterMetrics
LayoutOptions.IgnorePrinterMetrics property
Ottiene o imposta l’indicazione se l’opzione di compatibilità “Usa le metriche della stampante per disporre il documento” viene ignorata. Il valore predefinito èVERO
.
public bool IgnorePrinterMetrics { get; set; }
Esempi
Mostra come ignorare l’opzione “Usa le metriche della stampante per disporre il documento”.
Document doc = new Document(MyDir + "Rendering.docx");
doc.LayoutOptions.IgnorePrinterMetrics = false;
doc.Save(ArtifactsDir + "Document.IgnorePrinterMetrics.docx");
Guarda anche
- class LayoutOptions
- spazio dei nomi Aspose.Words.Layout
- assemblea Aspose.Words