Class ImageBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ImageBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.AspNetMvc.Spreadsheet.dll
Syntax
public class ImageBuilder : ControlBuilder
Constructors
ImageBuilder()
Declaration
public ImageBuilder()
ImageBuilder(List<Image>)
Declaration
public ImageBuilder(List<Image> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<Image> | collection |
Methods
Add()
Declaration
public void Add()
Height(Double)
Specifies the height of the image.
Declaration
public ImageBuilder Height(double height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | height |
Returns
| Type |
|---|
| ImageBuilder |
Id(String)
Specifies image element id.
Declaration
public ImageBuilder Id(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id |
Returns
| Type |
|---|
| ImageBuilder |
Left(Double)
Specifies the width of the image.
Declaration
public ImageBuilder Left(double left)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | left |
Returns
| Type |
|---|
| ImageBuilder |
Src(String)
Specifies the image source.
Declaration
public ImageBuilder Src(string src)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | src |
Returns
| Type |
|---|
| ImageBuilder |
Top(Double)
Specifies the height of the image.
Declaration
public ImageBuilder Top(double top)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | top |
Returns
| Type |
|---|
| ImageBuilder |
Width(Double)
Specifies the width of the image.
Declaration
public ImageBuilder Width(double width)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | width |
Returns
| Type |
|---|
| ImageBuilder |