Class SpreadsheetPictureOptionsBuilder<T>
Specifies the class for Spreadsheet picture options which includes width and height of the picture.
Inheritance
System.Object
SpreadsheetPictureOptionsBuilder<T>
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.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SpreadsheetPictureOptionsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetPictureOptionsBuilder(SpreadsheetPictureSettings)
Initializes a new instance of the SpreadsheetPictureOptionsBuilder<T> with the specified picture settings.
Declaration
public SpreadsheetPictureOptionsBuilder(SpreadsheetPictureSettings picture)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetPictureSettings | picture | The picture settings. |
Methods
AllowPictures()
Specifies to enable pictures.
Declaration
public SpreadsheetPictureOptionsBuilder<T> AllowPictures()
Returns
Type | Description |
---|---|
SpreadsheetPictureOptionsBuilder<T> |
AllowPictures(Boolean)
Specifies to indicate whether the pictures is enable or not.
Declaration
public SpreadsheetPictureOptionsBuilder<T> AllowPictures(bool allowPictures)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowPictures | true if the picture option is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetPictureOptionsBuilder<T> |
Height(Object)
Specifies the height for picture.
Declaration
public SpreadsheetPictureOptionsBuilder<T> Height(object height)
Parameters
Type | Name | Description |
---|---|---|
System.Object | height | The picture height. |
Returns
Type | Description |
---|---|
SpreadsheetPictureOptionsBuilder<T> |
Width(Object)
Specifies the width for picture.
Declaration
public SpreadsheetPictureOptionsBuilder<T> Width(object width)
Parameters
Type | Name | Description |
---|---|---|
System.Object | width | The picture width. |
Returns
Type | Description |
---|---|
SpreadsheetPictureOptionsBuilder<T> |