ImageSaveOptions.Scale
ImageSaveOptions Scale property. Gets or sets the zoom factor for the generated images.
ImageSaveOptions.Scale property
Gets or sets the zoom factor for the generated images.
public float Scale { get; set; }
Remarks
The default value is 1.0. The value must be greater than 0.
Examples
Shows how to specify image scale factor.
ImageSaveOptions imgSaveOptions = new ImageSaveOptions(SaveFormat.Png);
imgSaveOptions.Scale = 2;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "ImageSaveOptions.Scale.Png", imgSaveOptions)
.Execute();
See Also
- class ImageSaveOptions
- namespace Wordize.Saving
- assembly Wordize