Image scaling type.
Namespace:
ComPDFKit.Import
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.1.0+b8a973db4fce43f68ed31640e557d7c5478d7f58
Syntax
Members|
| Member name | Value | Description |
|---|
| fitXY | 0 |
Stretch until it fills the view.
|
| fitCenter | 1 |
Scale equally to the height or width of the full view, and center the display.
|
| fitStart | 2 |
Scale equally to the height or width of the full view and close to the front of the display.
|
| fitEnd | 3 |
Equal scale to the height or width of the full view, and close to the back display.
|
| center | 4 |
Do not scale, and center the display, beyond the part cut out.
|
| centerCrop | 5 |
Scale equally to fill the view (both width and height must be greater than or equal to the width and height of the view) and center it, clipping out any excess.
|
| centerInside | 6 |
If the image is smaller than the view, it is not resized and is centered. If at least one of the dimensions of the image is greater than the height or width of the view, then scale it so that the image is inside the view. Note that the scale is equal and is centered.
|
| matrix | 7 |
Display from the top left corner, or truncate if not fully displayed.
|
See Also