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


The following tables list the members exposed by FixedAspectRatioCropConstraint.

Public Constructors

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

Public Properties

  Name Description
Public Property AspectRatio Gets or sets the aspect ratio (width:height) of the CropConstraint.  
Public Property CanvasColor Gets or sets the color applied to the regions of the crop area outside of the source image's boundaries. (Inherited from CropConstraint)
Public Property DefaultImageSelectionStrategy Gets or sets a parameter indicating the way the ImageSelection is calculated by the crop constraint. (Inherited from CropConstraint)
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 LimitedDimension Gets or sets the dimension (Width or Height) to which the limits configured in this object (Min and Max) refers.  
Public Property Margins Gets or sets the size of area - external to the source image - that can be cropped. (Inherited from CropConstraint)
Public Property Max Gets or sets maximum width or height of the crop area.  
Public Property MaxHeight Gets the maximum height of the crop area.  
Public Property MaxWidth Gets the maximum width of the crop area.  
Public Property Min Gets or sets minimum width or height of the crop area.  
Public Property MinHeight Gets the minimum height of the crop area.  
Public Property MinWidth Gets the minimum width of the crop area.  
Public Property Unit Gets or sets the graphic unit in which sizes are measured. (Inherited from CropConstraint)
Top

Public Methods

  Name Description
Public Method ChangeUnit Changes the Unit and automatically recalculate the values to maintain unchanged the constraint. (Inherited from CropConstraint)
Public Method Clone Creates a copy of the FixedAspectRatioCropConstraint filter.  
Public Method Equals Determines whether the specified object is equal to the current object. (Inherited from CropConstraint)
Public Methodstatic (Shared in Visual Basic) FromJSON Overloaded. Deserializes a new instance of the FixedAspectRatioCropConstraint class from JSON.  
Public Method GetHashCode Serves as a hash function for a particular type. (Inherited from CropConstraint)
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 CropConstraint)
Public Method GetImageSelection Overloaded. Gets an ImageSelection filter that can be used to process the image according to size constraints configured in the current CropConstraint filter. (Inherited from CropConstraint)
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 Returns a string that represents the current object. (Inherited from CropConstraint)
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 Method Validate Overloaded. Validates the current CropConstraint filter to ensure that all the parameters are correctly configured (e.g. the CropMargins.Horizontal value is not higher than CoreSettings.Drawing.MaxImageSize.Width). (Inherited from CropConstraint)
Public Methodstatic (Shared in Visual Basic) ValidateAspectRatio Overloaded. Determines if the provided value is a valid aspect ratio.  
Public Methodstatic (Shared in Visual Basic) ValidateSizeLimit Overloaded. Determines if the provided value is a valid size limit (width or height).  
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.