ImageGear21.Web Assembly > ImageGear.Web.UI Namespace : FitType Enumeration |
'Declaration Public Enum FitType Inherits System.Enum
'Usage Dim instance As FitType
public enum FitType : System.Enum
__value public enum FitType : public System.Enum
public enum class FitType : public System.Enum
Member | Value | Description |
---|---|---|
ActualSize | 3 | Full actual size image appears in the control. Scales the PageView such that the image is displayed actual size. When displaying an image in this fashion, 1 inch of the screen will display 1 inch of the image. If the image is larger than the screen, portions of the image will not be visible. |
FullHeight | 2 | Fit to the height of the PageView control. |
FullImage | 0 | Fit such that the entire image appears within the PageView control. |
FullWidth | 1 | Fit to the width of the PageView control. |
OneToOne | 4 | Image appears in the control with no scaling (each image pixel will occupy one window pixel). If the image does not have square pixels, then the viewer will show one image pixel with exactly one window pixel either horizontally or vertically, and more than one pixel in the other direction. You cannot use this value for PDF images because it is based on pixels, which PDF images do not have. If the image is larger than the screen, portions of the image will not be visible. |
Rectangle | 5 | A special value that indicates the viewer should display a particular rectangle. When you use this value, the viewer will display the specified rectangle of the image. |
System.Object
System.ValueType
System.Enum
ImageGear.Web.UI.FitType