ImageGear .NET v25.1 - Updated
FitType Enumeration




ImageGear.Web Assembly > ImageGear.Web.UI Namespace : FitType Enumeration
Option values to determine if the image fit is within the PageView control.
Syntax
'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 
Members
MemberValueDescription
ActualSize3 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.
FullHeight2 Fit to the height of the PageView control.
FullImage0 Fit such that the entire image appears within the PageView control.
FullWidth1 Fit to the width of the PageView control.
OneToOne4 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.
Rectangle5 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.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ImageGear.Web.UI.FitType

See Also

Reference

ImageGear.Web.UI Namespace