RenderOptionsTransformations Property
Indicates what transformations that are applied to the document should be rendered.

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

Property Value

Type: Transformation
Remarks
By default transformations are set to Transformation.None. Therefore transformations, that are applied to the document will not be rendered if not set explicitly.
Examples
The following example demonstrates how to render rotate and reorder transformations.
C#
ViewerConfig config = new ViewerConfig();
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config);
string guid = @"C:\storage\document.doc";

htmlHandler.RotatePage(new RotatePageOptions(guid, 2, 180));
htmlHandler.ReorderPage(new ReorderPageOptions(guid, 1, 3));

HtmlOptions options = new HtmlOptions();
options.Transformations = Transformation.Rotate | Transformation.Reorder;

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