[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.ImageCellType

ImageCellType Class

Represents an image cell.

Inheritance
ImageCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class ImageCellType : BaseCellType, ICellType, IEditor, IFormatter, ICloneable, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializable, ISerializeSupport, IPropertyAllowedSupport, ICellType, ICloneable<ICellType>, ICellRenderer
Public Class ImageCellType
    Inherits BaseCellType
    Implements ICellType, IEditor, IFormatter, ICloneable, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializable, ISerializeSupport, IPropertyAllowedSupport, ICellType, ICloneable(Of ICellType), ICellRenderer

Constructors

Name Description
ImageCellType()

Creates a new image cell with default settings.

ImageCellType(RenderStyle)

Creates a new image cell with the specified render style.

ImageCellType(RenderStyle, Color)

Creates a new image cell with the specified render style and transparency color.

ImageCellType(RenderStyle, Color, int)

Creates a new image cell with the specified render style, transparency color, and tolerance.

ImageCellType(SerializationInfo, StreamingContext)

Creates a new image cell from serialization.

Properties

Name Description
Style

Gets or sets the render style of the image.

TransparencyColor

Gets or sets the transparency color in the image.

TransparencyTolerance

Gets or sets the transparency tolerance in the image.

Methods

Name Description
CanBeOverflown()

Determines whether data from another cell can overflow into this cell (whether this cell can be overflowed into).

CanOverflow()

Determines whether a cell can overflow its data into an adjacent cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

Format(object)

Formats the specified data into the format of the cell type, and since this cell type does not support formatting, it does nothing.

GetBase64String(Image)

Gets the base-64 string encoding for the byte array serialization of the image.

GetBytes(Image)

Gets the byte array serialization for the image.

GetEditorControl(Appearance, float)

Gets the control used by the image cell (returns null since this cell type does not support editing).

GetEditorValue()

Gets the unformatted value in the editor control (does nothing since this cell type does not support editing).

GetImage(object)

Gets an Image object from its base-64 string encoding, byte array, or stream serialization.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the image cell.

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

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

IsPropertySupported(string)

Gets whether the cell type supports the named property.

IsValid(object)

Determines whether the specified value is valid (Image).

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

Paints (prints) the cell to PDF when not in edit mode, to the specified graphics interface with the specified appearance settings.

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the image cell when not in edit mode to the specified graphics interface with the specified appearance settings.

Parse(string)

Parses the specified string to the data type of the cell type (does nothing since this cell type does not support parsing).

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value of the editor control (does nothing since this cell type does not support editing).