CodeCarvings.Piczard
PictureTrimmerAutoZoomMode Enumeration
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace : PictureTrimmerAutoZoomMode Enumeration

Specifies how a PictureTrimmer control automatically calculates the ZoomFactor.

Syntax

Visual Basic (Declaration)  
<SerializableAttribute()>
Public Enum PictureTrimmerAutoZoomMode 
   Inherits Enum
C#  
[SerializableAttribute()]
public enum PictureTrimmerAutoZoomMode : Enum 

Members

Member Description
Disabled Image is never zoomed to fit the PictureTrimmer canvas.
Enabled Image is always zoomed to fit the PictureTrimmer canvas, independently by its size.
EnabledOnlyForSmallImages Image is zoomed to fit the PictureTrimmer canvas only if its size is smaller than the PictureTrimmer canvas size (image will be enlarged).
EnabledOnlyForLargeImages Image is zoomed to fit the PictureTrimmer canvas only if its size is bigger than the PictureTrimmer canvas size (image will be shrinked).
Standard The PictureTrimmer control automatically detects if the image has to be zoomed to fit the canvas.
By default the EnabledOnlyForLargeImages mode is used.
If both PictureTrimmer.EnableCropping and PictureTrimmer.ShowZoomPanel are false then the image is not zoomed.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         CodeCarvings.Piczard.Web.PictureTrimmerAutoZoomMode

Requirements

Namespace: CodeCarvings.Piczard.Web

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

Assembly: CodeCarvings.Piczard (in CodeCarvings.Piczard.dll)

See Also

©2013 Sergio Turolla. All Rights Reserved.