Class FloatingImage
Represents a picture element in the RadSpreadsheet.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Shapes
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class FloatingImage : FloatingTransformableShape, ICopyable<FloatingShapeBase>
Constructors
FloatingImage(Worksheet, CellIndex, Double, Double)
Initializes a new instance of the FloatingImage class.
Declaration
public FloatingImage(Worksheet worksheet, CellIndex cellIndex, double offsetX, double offsetY)
Parameters
Worksheet
worksheet
The worksheet assigned to the image. |
CellIndex
cellIndex
The cell index where the top left corner of the shape is positioned. |
System.Double
offsetX
The left offset of the top left corner of the shape relative to the top left corner of the cell index. |
System.Double
offsetY
The top offset of the top left corner of the shape relative to the top left corner of the cell index. |
Properties
FloatingShapeType
Gets the type of the shape.
Declaration
public override FloatingShapeType FloatingShapeType { get; }
Property Value
FloatingShapeType
|
Overrides
ImageSource
Gets or sets the image source.
Declaration
public ImageSource ImageSource { get; set; }
Property Value
ImageSource
The image source. |
PreferRelativeToOriginalResize
Gets or sets a value indicating whether to resize relative to the original size.
Declaration
public bool PreferRelativeToOriginalResize { get; set; }
Property Value
System.Boolean
The prefer relative to original resize. |