FixedResizeConstraintImagePosition Enumeration
CodeCarvings.Piczard
FixedResizeConstraintImagePosition Enumeration
See Also  Send Feedback
CodeCarvings.Piczard Namespace : FixedResizeConstraintImagePosition Enumeration

Specifies the ways an image can be positioned within the fixed size area of a FixedResizeConstraint filter.

Syntax

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

Members

Member Description
Fill The image is resized to fill in the Fixed Size (the native aspect ratio is preserved).
If the Size aspect ratio (width:height) differs from the source image, then the image is clipped.
Fit The image is resized to fit in the Fixed Size (the native aspect ratio is preserved).
If the Size aspect ratio (width:height) differs from the source image, then the CanvasColor is used to fill the Size area.
Stretch The image is resized to fill the FIxed Size.
The native aspect ratio is not preserved.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         CodeCarvings.Piczard.FixedResizeConstraintImagePosition

Requirements

Namespace: CodeCarvings.Piczard

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.