CodeCarvings.Piczard
ScaledResizeConstraint Class
Members  See Also  Send Feedback
CodeCarvings.Piczard Namespace : ScaledResizeConstraint Class

Represents a ResizeConstraint that allows to proportionally resize an image maintaining unchanged its original aspect ratio. This class cannot be inherited.

Syntax

Visual Basic (Declaration)  
<SerializableAttribute()>
Public NotInheritable Class ScaledResizeConstraint 
   Inherits ResizeConstraint
   Implements IJSONSerializable 
C#  
[SerializableAttribute()]
public sealed class ScaledResizeConstraint : ResizeConstraint, IJSONSerializable  

Remarks

This ResizeConstraint creates images of variable size.
The source image is proportionally scaled so it can be entirely contained within a fixed size rectangle.

For more information please see: Automatic Image Resize (paragraph: "Scaled resize constraint").

Inheritance Hierarchy

System.Object
   CodeCarvings.Piczard.ImageProcessingFilter
      CodeCarvings.Piczard.ResizeConstraint
         CodeCarvings.Piczard.ScaledResizeConstraint

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.