Click or drag to resize

C_Scale_Type Enumeration

Image scaling type.

Namespace:  ComPDFKit.Import
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.1.0+b8a973db4fce43f68ed31640e557d7c5478d7f58
Syntax
C#
public enum C_Scale_Type
Members
  Member nameValueDescription
fitXY0 Stretch until it fills the view.
fitCenter1 Scale equally to the height or width of the full view, and center the display.
fitStart2 Scale equally to the height or width of the full view and close to the front of the display.
fitEnd3 Equal scale to the height or width of the full view, and close to the back display.
center4 Do not scale, and center the display, beyond the part cut out.
centerCrop5 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.
centerInside6 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.
matrix7 Display from the top left corner, or truncate if not fully displayed.
See Also