CodeCarvings.Piczard
CropConstraint Class Methods
See Also  Send Feedback
CodeCarvings.Piczard Namespace : CropConstraint Class


For a list of all members of this type, see CropConstraint members.

Public Methods

  Name Description
Public Method ChangeUnit Changes the Unit and automatically recalculate the values to maintain unchanged the constraint.  
Public Method Clone Creates a copy of the CropConstraint filter.  
Public Method Equals Overridden. Determines whether the specified object is equal to the current object.  
Public Methodstatic (Shared in Visual Basic) FromJSON Overloaded. Deserializes a new instance of the CropConstraint class from JSON.  
Public Method GetHashCode Overridden. Serves as a hash function for a particular type.  
Public Method GetImageProcessingJob Overloaded. Overridden. 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.  
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.  
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 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).  
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.