[]
A class support drawn image as floating in spread.
public class FloatingObject : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor
Public Class FloatingObject
Inherits WebControl
Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor
Name | Description |
---|---|
FloatingObject() | Initializes a new instance of the FloatingObject class. |
Name | Description |
---|---|
EnableClickEvent | Gets or sets a value that indicates whether the Click event can be used. |
Height | Gets or sets the height of the object in pixels. |
ImageRender | Gets or sets the image renderer. |
ImageUrl | Gets or sets control ImageUrl property. |
InstanceGuid | Gets a guid that uniquely identifies the image component. |
Left | Gets or sets the X-coordinate of the object. |
Top | Gets or sets the Y-coordinate of the object. |
Visible | Gets or sets whether a Drawing object is rendered as UI on the page. |
Width | Gets or sets the width of the object in pixels. |
Name | Description |
---|---|
Dispose() | Enables the FloatingObject control to perform final clean up before it is released from memory. |
LoadViewState(object) | Restores view-state information from a previous page request that was saved by the SaveViewState method. |
OnClick(ImageClickEventArgs) | Raises the ImageClick event of the FloatingObject control. |
OnLoad(EventArgs) | OnLoad |
OnUnload(EventArgs) | OnUnload |
Render(HtmlTextWriter) | Sends the FloatingObject control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. |
SaveViewState() | Saves DrawingObject view state changes that have occurred since the page was posted back to the server. |
Name | Description |
---|---|
Click | Occurs when the image is clicked. |