This enum specifies the behavior of the page's scaling.

Namespace: TallComponents.Web
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 2.0.16.0

Syntax

C#
public enum ScaleBehavior
Visual Basic
Public Enumeration ScaleBehavior

Members

Member nameValueDescription
DoNotScale0 In this mode the content width will be exact the same as specified by the section/area, it will be the PageSize minus the left and right margin.

No scale will be applied by the engine, the content can be flowed over multiple pages.

Notice: 96 pixels correspond to 72 points = 96 DPI.

SpecifyWidth1 In this mode the content width will be those which is specified by the FixedWidth property (default 1000).

The content can be flowed over multiple pages.

ScaleToWidth2 In this mode the engine will automatically add a scale, so that the width of the HTML page will fit in the available content width. (this is the default setting)

The content can be flowed over multiple pages.

ScaleToSinglePage3 In this mode the engine will add a scale so that the complete HTML will fit in both the width and the height of the available content.

The content can be very small in large HTML documents.

See Also