Different policies for handling image paragraphs that do not fit the available space.
Namespace: TallComponents.PDF.Layout.ParagraphsAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
public enum FitPolicy |
| Visual Basic |
|---|
Public Enumeration FitPolicy |
Members
| Member name | Value | Description | |
|---|---|---|---|
| ThrowException | 0 | If the image width or height exceed the available space, an ImageSizeException is thrown. | |
| Shrink | 1 | If the image width or height exceed the available space, the image shrinks to fit. Depending on KeepAspectRatio, it will keep the aspect ratio or not. The image will never grow. | |
| Clip | 2 | If the image width or height exceed the avaiable space, the image is clipped. Either the right and/or bottom part is clipped. |