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


The following tables list the members exposed by ScaledResizeConstraint.

Public Constructors

  Name Description
Public Constructor ScaledResizeConstraint Constructor Overloaded. Initializes a new instance of the ScaledResizeConstraint class.  
Top

Public Properties

  Name Description
Public Property EnlargeSmallImages Gets or sets a value indicating if images that are smaller than the provided MaxSize are resized.  
Public Property FilterFullName Gets the full name of the ImageProcessingFilter. (Inherited from ImageProcessingFilter)
Public Property FilterName Gets the name of the ImageProcessingFilter. (Inherited from ImageProcessingFilter)
Public Property FilterVersion Gets the Version of the ImageProcessingFilter. (Inherited from ImageProcessingFilter)
Public Property MaxSize Gets or sets the size of the rectangle in which the image must stay.  
Public Property Unit Gets or sets the graphic unit in which MaxSize is measured.  
Top

Public Methods

  Name Description
Public Method Clone Overridden. Creates a copy of the ScaledResizeConstraint filter.  
Public Method Equals Determines whether the specified object is equal to the current object. (Inherited from ResizeConstraint)
Public Methodstatic (Shared in Visual Basic) FromJSON Overloaded. Deserializes a new instance of the ScaledResizeConstraint class from JSON.  
Public Method GetHashCode Serves as a hash function for a particular type. (Inherited from ResizeConstraint)
Public Method GetImageProcessingJob Overloaded. Gets an instance of the ImageProcessingJob class that can be used to process the image; the current filter is added to the Filters collection of the ImageProcessingJob object. (Inherited from ImageProcessingFilter)
Public Methodstatic (Shared in Visual Basic) GetMaxHeight Overloaded. Initializes a new instance of the ScaledResizeConstraint class that allows to generate an image with a fixed height and a variable width.  
Public Methodstatic (Shared in Visual Basic) GetMaxWidth Overloaded. Initializes a new instance of the ScaledResizeConstraint class that allows to generate an image with a fixed width and a variable height.  
Public Method GetProcessedImage Overloaded. Applies the current ImageProcessingFilter to the specified image and returns the result as a Bitmap object. (Inherited from ImageProcessingFilter)
Public Method SaveProcessedImageToByteArray Overloaded. Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to a byte array. (Inherited from ImageProcessingFilter)
Public Method SaveProcessedImageToFileSystem Overloaded. Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to the file system. (Inherited from ImageProcessingFilter)
Public Method SaveProcessedImageToStream Overloaded. Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to a Stream. (Inherited from ImageProcessingFilter)
Public Method ToString Overridden. Returns a string that represents the current object.  
Public Method TransmitProcessedImageToWebResponse Overloaded. Applies the current ImageProcessingFilter to the specified image using default output resolution (96 DPI), then encodes and writes the result Bitmap directly to an HTTP response output stream. (Inherited from ImageProcessingFilter)
Public Methodstatic (Shared in Visual Basic) ValidateMaxSize Overloaded. Determines if the provided value is a valid maximum image size.  
Top

Protected Methods

  Name Description
Protected Method LoadImageProcessingActions Initializes and loads one more ImageProcessingAction objects that will be used during the image processing workflow. (Inherited from ImageProcessingFilter)
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.