ImageGear .NET v25.2 - Updated
ImageGear.Core Assembly / ImageGear.Display Namespace / ImGearFitModes Enumeration




In This Topic
    ImGearFitModes Enumeration
    In This Topic
    Identifies how an image fits to the device rectangle.
    Syntax
    'Declaration
     
    Public Enum ImGearFitModes 
       Inherits System.Enum
    'Usage
     
    Dim instance As ImGearFitModes
    public enum ImGearFitModes : System.Enum 
    __value public enum ImGearFitModes : public System.Enum 
    public enum class ImGearFitModes : public System.Enum 
    Members
    MemberValueDescription
    ACTUAL_SIZE3The device rectangle is ignored, and the image is scaled 1:1.
    FIT_TO_DEVICE0The image is scaled to fit both the width and height of the device rectangle.
    FIT_TO_HEIGHT2The image is scaled to fit the height of the device rectangle.
    FIT_TO_WIDTH1The image is scaled to fit the width of the device rectangle.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ImageGear.Display.ImGearFitModes

    See Also