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


The following tables list the members exposed by ImageCrop.

Public Constructors

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

Public Properties

  Name Description
Public Property CanvasColor Gets or sets the color used to fill the eventual canvas area.  
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 Rectangle Gets or sets the coordinates and the size of the rectangular area to crop. If null the entire source image is cropped.  
Top

Public Methods

  Name Description
Public Methodstatic (Shared in Visual Basic) Calculate Overloaded. Initializes a new instance of the ImageCrop class by converting a rectangle expressed in any GfxUnit.  
Public Method Clone Creates a copy of the ImageCrop 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 ImageCrop 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 GetIsNeutral Gets a value indicating whether the ImageProcessingFilter is neutral (does not alter source images having the specified size).  
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 ImageCrop filter to ensure that all the parameters are correctly configured (e.g. the Rectangle.Width is not higher than CoreSettings.Drawing.MaxImageSize.Width).  
Public Methodstatic (Shared in Visual Basic) ValidateRectangle Overloaded. Determines if the provided crop rectangle is valid.  
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.