Enum ScaleBehavior

Namespace TallComponents.PDF.Layout.Paragraphs

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

Fields


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

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

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

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