Class ImageBuilder
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 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(Int32)
Specifies the height of the image.
Declaration
public ImageBuilder Height(int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | height |
Returns
Type | Description |
---|---|
ImageBuilder |
Id(String)
Specifies image element id.
Declaration
public ImageBuilder Id(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Returns
Type | Description |
---|---|
ImageBuilder |
Left(Int32)
Specifies the width of the image.
Declaration
public ImageBuilder Left(int left)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | left |
Returns
Type | Description |
---|---|
ImageBuilder |
Src(String)
Specifies the image source.
Declaration
public ImageBuilder Src(string src)
Parameters
Type | Name | Description |
---|---|---|
System.String | src |
Returns
Type | Description |
---|---|
ImageBuilder |
Top(Int32)
Specifies the height of the image.
Declaration
public ImageBuilder Top(int top)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | top |
Returns
Type | Description |
---|---|
ImageBuilder |
Width(Int32)
Specifies the width of the image.
Declaration
public ImageBuilder Width(int width)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width |
Returns
Type | Description |
---|---|
ImageBuilder |