[]
        
(Showing Draft Content)

FarPoint.Web.Spread.ImageCellType

ImageCellType Class

Represents an image cell.

Inheritance
ImageCellType
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class ImageCellType : BaseCellType, ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer
Public Class ImageCellType
    Inherits BaseCellType
    Implements ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer

Constructors

Name Description
ImageCellType()

Creates a new new image cell.

ImageCellType(string)

Creates a new new image cell with the specified image.

Properties

Name Description
AlternateText

Gets or sets the alternate text for the image cell.

CssClass

Gets or sets the CSS class name.

ImageAlign

Gets or sets the alignment of an image in relation to the text.

ImageUrl

Gets or sets the URL of the image.

TextOnRight

Gets or sets whether the text is displayed on the right side of the image.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the cell type from XML.

GetEditorControl(string, TableCell, Appearance, Inset, object, bool)

Gets the control used to edit the cell (and this implementation always returns null).

GetEditorValue(Control, string)

Gets the value from the editor control for the cell.

GetPreferredSize(Graphics, Size, Appearance, object, float, bool, bool)

Gets the preferred (maximum needed) size of the cell for the renderer control.

PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)

Gets a control and prints the cell to PDF based on the specified appearance and selection.

PaintCell(string, TableCell, Appearance, Inset, object, bool)

Gets a control and renders it in the cell based on the specified appearance, margin, and value.

Serialize(XmlTextWriter)

Saves the cell type to XML.

Serialize2(XmlTextWriter)

Saves the cell type to XML using short names.