TX Text Control .NET Server

ComponentRenderMode Enumeration

Enumeration
Namespace
TXTextControl.Web.MVC.DocumentViewer
Package
TXTextControl.Web.DocumentViewer from nuget.org, the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Web.MVC.DocumentViewer.dll
Install
dotnet add package TXTextControl.Web.DocumentViewer
Also in
TXTextControl.Web.DocumentViewer.Classic as TXTextControl.Web.MVC.DocumentViewer.dll

Description

Specifies the rendering mode of the document viewer component.

Syntax

public enum ComponentRenderMode

Members

MemberValueDescription
Auto0Sets the rendering mode automatically.
Font1Renders text with embedded fonts.
GlyphOutlines2Renders text using glyph outlines.
Bitmap4Renders pages as bitmaps.

Examples

The following example selects Auto and retains that choice for the related document-processing operation.

TXTextControl.Web.MVC.DocumentViewer.ComponentRenderMode value = TXTextControl.Web.MVC.DocumentViewer.ComponentRenderMode.Auto;
Console.WriteLine($"Using Component Render Mode: {value}");