[This is preliminary documentation and is subject to change.]

This enum specifies the behavior of the page's content width and height.

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

Syntax

C#
public enum ContentFitBehavior
Visual Basic
Public Enumeration ContentFitBehavior

Members

Member nameValueDescription
AsIs0 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.

FixedWidth1 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.

Auto2 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.

OnePage3 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