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


The following tables list the members exposed by PictureTrimmerCore.

Public Properties

  Name Description
Public Property AllowResize Gets or sets a value indicating whether users can resize the source image through the GUI.  
Public Property AutoFreezeOnFormSubmit Gets or sets a value indicating whether the control has to automatically freeze the GUI when the form is submitted.  
Public Property AutoZoomMode Gets or sets a value indicating how the control automatically calculates the ZoomFactor.  
Public Property CanvasColor Gets or sets the color of the canvas.  
Public Property ContentImageUrl Gets or sets the url used by the control to retrieve the image displayed within the GUI.  
Public Property CropConstraint Gets the constraints that have to be satisfied by the cropped image.  
Public Property CropShadowMode Gets or sets a value indicating how the control renders the cropping mask.  
Public Property EnableAutoCenterView Gets or sets a value indicating whether the control has to automatically center the view after the user drags the crop area outside the visible area.  
Public Property EnableCropping Gets a value indicating whether the crop feature is enabled .  
Public Property EnableSnapping Gets or sets a value indicating whether the crop area automatically snaps to the edge or the center of the image when the user moves the rectangle near those positions.  
Public Property FlashWMode Gets or sets the Window Mode property of the Adobe Flash movie for transparency, layering, and positioning in the browser (it is strongly suggested to use the FlashWMode.Direct or the FlashWMode.Window setting).  
Public Property ImageBackColor Gets or sets the color used to fill the image background.  
Public Property ImageBackColorApplyMode Gets or sets a value indicating if and when the ImageBackColor must be applied to the image.  
Public Property ImageLoaded Gets a value indicating whether an image is currently loaded into the control.  
Public Property Mode Gets the type of the PictureTrimmerCore object.  
Public Property OnClientControlLoadFunction Gets or sets the name of the client function to be called when the control is loaded in the browser.  
Public Property OnClientUserStateChangedFunction Gets or sets the name of the client function to be called when the UserState of the control changes.  
Public Property OutputResolution Gets the resolution (DPI) of the images that are generated by the PictureTrimmerCore object.  
Public Property ShowCropAlignmentLines Gets or sets a value indicating whether to show lines that facilitate the alignment of the crop rectangle.  
Public Property ShowDetailsPanel Gets or sets a value indicating whether to show the "Details panel" in the component GUI.  
Public Property ShowFlipPanel Gets or sets a value indicating whether to show the flip control in the "Rotate/Flip panel". The flip control allows the user to flip the image horizontally and/or vertically .  
Public Property ShowImageAdjustmentsPanel Gets or sets a value indicating whether to show the "Adjustments panel" in the component GUI. The "Adjustments panel" allows the user to change Brightness, Contrast, Hue and/or Saturation of the Image.  
Public Property ShowResizePanel Gets or sets a value indicating whether to show the "Resize panel" in the component GUI. The "Resize panel" allows the user to change the ResizeFactor applied to the source Image.  
Public Property ShowRotatePanel Gets or sets a value indicating whether to show the rotate control in the "Rotate/Flip panel". The rotate control allows the user to rotate the image clockwise by 0, 90, 180 or 270 degrees.  
Public Property ShowRulers Gets or sets a value indicating whether to show the rulers at the left and at the top of the working area.  
Public Property ShowZoomPanel Gets or sets a value indicating whether to show the "Zoom panel" in the component GUI. The "Zoom panel" allows the user to magnify an area of the image.  
Public Property SourceImageFormatId Gets the format of the currently loaded Image.  
Public Property SourceImageResolution Gets the resolution, in pixels per inch, of the currently loaded Image.  
Public Property SourceImageSize Gets the Size, expressed in pixels, of the currently loaded Image.  
Public Property TemporaryFileId Gets the id that uniquely identifies the temporary files associated with the currently loaded image.  
Public Property UIUnit Gets or sets the graphic unit in which values are displayed in the GUI.  
Public Property UserState Gets or sets the current user state of the PictureTrimmerCore object.  
Public Property Value Gets or sets the current value of the PictureTrimmerCore object.  
Top

Public Methods

  Name Description
Public Method DeleteTemporaryFiles Deletes the temporary files associated with the currently loaded image.  
Public Methodstatic (Shared in Visual Basic) FromJSON Overloaded. Deserializes a new instance of the PictureTrimmerCore class from JSON.  
Public Method GetAttachDataJSON Overloaded. Gets a JSON string, encapsulating the current control state, that can be passed as argument to the control.load client function.  
Public Methodstatic (Shared in Visual Basic) GetContentImageFormatEncoderParams Gets a FormatEncoderParams object containing the image format parameters required in order to generate a valid content image.  
Public Methodstatic (Shared in Visual Basic) GetContentImageJob Gets an ImageProcessingJob object that can be used to generate a valid content image.  
Public Method GetImageProcessingJob Gets an instance of the ImageProcessingJob class that can be used to process an image.  
Public Method GetProcessedImage Overloaded. Applies the current PictureTrimmerValue filter to an image and returns the result as a Bitmap object.  
Public Method LoadImage Overloaded. Loads the specified Image into the PictureTrimmerCore object.  
Public Method LoadImageFromByteArray Overloaded. Loads the specified Image into the PictureTrimmerCore object.  
Public Method LoadImageFromFileSystem Overloaded. Loads the specified Image into the PictureTrimmerCore object.  
Public Method LoadImageFromStream Overloaded. Loads the specified Image into the PictureTrimmerCore object.  
Public Method SaveProcessedImageToByteArray Overloaded. Applies the current PictureTrimmerValue filter to an image and saves the result Bitmap to a byte array.  
Public Method SaveProcessedImageToFileSystem Overloaded. Applies the current PictureTrimmerValue filter to an image and saves the result Bitmap to the file system.  
Public Method SaveProcessedImageToStream Overloaded. Applies the current PictureTrimmerValue filter to an image and saves the result Bitmap to a Stream.  
Public Method UnloadImage Unloads the current image.  
Top

See Also

©2013 Sergio Turolla. All Rights Reserved.