Error processing SSI file
(Leadtools.Controls)

Show in webframe

ControlSizeMode Enumeration




Determines how the control displays the image and the automatic adjustments of the display rectangles.
Syntax
public enum ControlSizeMode : System.Enum 
'Declaration
 
Public Enum ControlSizeMode 
   Inherits System.Enum
Members
ValueMemberDescription
0x00000000None No special sizing
0x00000001ActualSize Use the image actual size
0x00000002Fit Fit the image into the viewing area while maintaining the aspect ratio. If the image size is smaller than the viewing area, no resizing is done.
0x00000003FitAlways Always fit the image into the viewing area while maintaining the aspect ratio even if the image size is smaller than the viewing area (in which case, the image will be scaled up).
0x00000004FitWidth Fit the image width to be the size of the width of the viewing area while maintaining the aspect ratio.
0x00000005FitHeight Fit the image height to be the size of the height of the viewing area while maintaining the aspect ratio.
0x00000006Stretch Fit the image to fill the viewing area. Aspect ratio might not be maintained.
Remarks

ControlSizeMode is used by the ImageViewer.Zoom and ImageViewerItem.Zoom methods.

Example

For an example, refer to ImageViewer.Zoom

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Controls.ControlSizeMode

Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

Error processing SSI file