Class Image
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.EJ2.dll
Syntax
public class Image : EJTagHelper
Constructors
Image()
Declaration
public Image()
Properties
Height
Specifies the height of the image.
Declaration
[HtmlAttributeName("height")]
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is 300 |
Id
Specifies image element id.
Declaration
[HtmlAttributeName("id")]
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Overrides
Left
Specifies the width of the image.
Declaration
[HtmlAttributeName("left")]
public int Left { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is 0 |
Src
Specifies the image source.
Declaration
[HtmlAttributeName("src")]
public string Src { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Top
Specifies the height of the image.
Declaration
[HtmlAttributeName("top")]
public int Top { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is 0 |
Width
Specifies the width of the image.
Declaration
[HtmlAttributeName("width")]
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default value is 400 |