The methods of the ImageCanvas class are listed below. For a complete list of ImageCanvas class members, see the ImageCanvas Members topic.
![]() FromFile | Returns a new ImageCanvas object from the specified image file. |
![]() FromStream | Returns a new ImageCanvas object from the specified stream. |
![]() FromURL | Returns a new ImageCanvas object from the specified URL. |
AdjustHSL | Adjusts the Hue, Saturation, and Lightness of the image |
Blur | Blur the image to the specified radius. |
Brighten | Brightens or darkens the image by specified amount. 100 is no change, 50 would be half as bright, 200 would be twice as bright |
Colorize | Colorizes the image using specified color. |
Crop | Overloaded. Crops the image to the specified region |
DataBind (inherited from Control) | Binds a data source to the invoked server control and all its child controls. |
Diffuse | Applies diffuse filter to the image. |
Dispose | Releases all resources used by this ImageCanvas object. |
DropShadow | Adds a dropshadow to the image. |
Emboss | Apply emboss filter |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FindControl (inherited from Control) | Overloaded. Searches the current naming container for a server control with the specified id parameter. |
Flip | Flips the image |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPixel | Gets the color of the specified pixel in this Bitmap. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GrayScale | Reduces the images to shades of gray |
HasControls (inherited from Control) | Determines if the server control contains any child controls. |
HighContrast | Reduces the image to white and black |
LineArt | Applies line art filter. |
Mirror | Mirrors the image |
Mosiac | Applies mosiac filter to the image. |
Negative | Produces negative of current image |
RenderControl (inherited from Control) | Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled. |
ReplaceColor | Replaces one color in an image with another |
ResizeCanvas | Overloaded. Changes the size of the ImageCanvas without stretching the underlying image. |
ResizeImage | Overloaded. Stretches the Image to the specified size |
ResolveUrl (inherited from Control) | Converts a URL into one that is usable on the requesting client. |
RotateFlip | This method either rotates, flips, or rotates and flips the Image object. |
Save | Overloaded. Saves this Image object to the specified file. |
Sepia | Applies Sepia color |
SetPixel | Sets the color of the specified pixel in this Bitmap object. |
SetRenderMethodDelegate (inherited from Control) | |
Sharpen | Overloaded. Applies sharpen filer to the image. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Wave | Applies wave distortion to image. |
Wrap | Wraps the image horizontally. |
AddParsedSubObject (inherited from Control) | Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object. |
BuildProfileTree (inherited from Control) | |
ClearChildViewState (inherited from Control) | Deletes the view-state information for all the server control's child controls. |
CreateChildControls (inherited from Control) | Notifies server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. |
CreateControlCollection (inherited from Control) | Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control. |
EnsureChildControls (inherited from Control) | Determines whether the server control contains child controls. If it does not, it creates child controls. |
Finalize | Destructor, Overridden. |
FindControl (inherited from Control) | Overloaded. |
IsLiteralContent (inherited from Control) | Determines if the server control holds only literal content. |
LoadViewState (inherited from Control) | Restores view-state information from a previous page request that was saved by the SaveViewState method. |
MapPathSecure (inherited from Control) | Retrieves the physical path that a virtual path, either absolute or relative, maps to. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
OnBubbleEvent (inherited from Control) | Determines whether the event for the server control is passed up the page's UI server control hierarchy. |
OnDataBinding (inherited from Control) | Raises the DataBinding event. |
OnInit (inherited from Control) | Raises the Init event. |
OnLoad (inherited from Control) | Raises the Load event. |
OnPreRender (inherited from Control) | Raises the PreRender event. |
OnUnload (inherited from Control) | Raises the Unload event.Note Server controls should perform any final cleanup, such as closing files, closing database connections, and discarding objects, during this stage of the server control lifecycle. |
RaiseBubbleEvent (inherited from Control) | Assigns any sources of the event and its information to the control's parent. |
Render (inherited from Control) | Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. |
RenderChildren (inherited from Control) | Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client. |
SaveViewState (inherited from Control) | Saves any server control view-state changes that have occurred since the time the page was posted back to the server. |
TrackViewState (inherited from Control) | Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the ViewState property. |
AddedControl (inherited from Control) | Called after a control is added to the Controls collection of another control. |
RemovedControl (inherited from Control) | Called after a control is removed from the Controls collection of another control. |
IParserAccessor.AddParsedSubObject (inherited from Control) |