ImageGear .NET v25.2 - Updated
ImageGear.Web Assembly / ImageGear.Web.UI Namespace / FitType Enumeration




In This Topic
    FitType Enumeration
    In This Topic
    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
    ActualSize3Full 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.
    FullHeight2Fit to the height of the PageView control.
    FullImage0Fit such that the entire image appears within the PageView control.
    FullWidth1Fit to the width of the PageView control.
    OneToOne4Image 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.
    Rectangle5A 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