ImageGear .NET v24.12 - Updated
ImGearFitModes Enumeration




ImageGear24.Core Assembly > ImageGear.Display Namespace : ImGearFitModes Enumeration
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
MemberDescription
ACTUAL_SIZEThe device rectangle is ignored, and the image is scaled 1:1.
FIT_TO_DEVICEThe image is scaled to fit both the width and height of the device rectangle.
FIT_TO_HEIGHTThe image is scaled to fit the height of the device rectangle.
FIT_TO_WIDTHThe image is scaled to fit the width of the device rectangle.
Inheritance Hierarchy

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

See Also

Reference

ImageGear.Display Namespace