[]
        
(Showing Draft Content)

FarPoint.Web.Spread.FloatingObject

FloatingObject Class

A class support drawn image as floating in spread.

Inheritance
FloatingObject
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
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

Constructors

Name Description
FloatingObject()

Initializes a new instance of the FloatingObject class.

Properties

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.

Methods

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.

Events

Name Description
Click

Occurs when the image is clicked.