CadOptionsScaleFactor Property
The scale factor affects the size of an output document.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.5
Syntax
public float ScaleFactor { get; set; }

Property Value

Type: Single
Remarks
Values higher than 1 will enlarge and values between 0 and 1 will make render result smaller. This property is ignored when either Height or Width properties are set.
Examples
The following example demonstrates how to set the scale factor while rendering into HTML.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.CadOptions.ScaleFactor = 1.5f;

string guid = "document.dwg";
List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also