SaveOptionsUseHighQualityRendering Property |
Namespace: Aspose.Words.Saving
This property is used when the document is exported to image formats: Tiff, Png, Bmp, Jpeg, Emf.
Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); builder.Font.Size = 60; builder.Writeln("Some text."); SaveOptions options = new ImageSaveOptions(SaveFormat.Jpeg); Assert.AreEqual(false, options.UseAntiAliasing); doc.Save(ArtifactsDir + "Document.ImageSaveOptions.Default.jpg", options); options.UseAntiAliasing = true; options.UseHighQualityRendering = true; doc.Save(ArtifactsDir + "Document.ImageSaveOptions.HighQuality.jpg", options);