SaveOptions.UseAntiAliasing

SaveOptions UseAntiAliasing property. Gets or sets a value determining whether or not to use antialiasing for rendering.

SaveOptions.UseAntiAliasing property

Gets or sets a value determining whether or not to use anti-aliasing for rendering.

public bool UseAntiAliasing { get; set; }

Remarks

The default value is false. When this value is set to true anti-aliasing is used for rendering.

This property is used when the document is exported to the following formats: Tiff, Png, Bmp, Jpeg, Emf. When the document is exported to the Html, Mhtml, Epub, Azw3 or Mobi formats this option is used for raster images.

Examples

Shows how to enable anti-aliasing and high quality rendering.

SaveOptions so = SaveOptions.CreateSaveOptions(SaveFormat.Tiff);
so.UseAntiAliasing = true;
so.UseHighQualityRendering = true;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "SaveOptions.UpdateFields.tiff", so)
    .Execute();

See Also