Class PicturesCollection
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class PicturesCollection : CollectionBaseEx<IPictureShape>, IList<IPictureShape>, ICollection<IPictureShape>, IEnumerable<IPictureShape>, ICloneParent, IPictures, IParentApplication, IEnumerable
Constructors
PicturesCollection(IApplication, object)
Declaration
public PicturesCollection(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| object | parent |
Properties
this[string]
Gets single item from the collection.
Declaration
public IPictureShape this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of the item to get. |
Property Value
| Type | Description |
|---|---|
| IPictureShape | Single item from the collection. |
Methods
AddPicture(Image, string)
Adds picture to the collection.
Declaration
public IPictureShape AddPicture(Image image, string pictureName)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | Picture to add. |
| string | pictureName | Picture name. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(Image, string, ExcelImageFormat)
Adds picture to the collection.
Declaration
public IPictureShape AddPicture(Image image, string pictureName, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image | Picture to add. |
| string | pictureName | Picture name. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Image)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Image image)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Image | image | Image. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Image, ExcelImageFormat)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Image image, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Image | image | Image to add. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Image, int, int)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Image image, int scaleWidth, int scaleHeight)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Image | image | Image. |
| int | scaleWidth | Width scale in percents. |
| int | scaleHeight | Height scale in percents. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Image, int, int, ExcelImageFormat)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Image image, int scaleWidth, int scaleHeight, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Image | image | Image. |
| int | scaleWidth | Width scale in percents. |
| int | scaleHeight | Height scale in percents. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Stream)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Stream | stream | Stream with the picture. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Stream, ExcelImageFormat)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Stream stream, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Stream | stream | Stream with the picture. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Stream, Stream)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Stream svgStream, Stream imageStream)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Stream | svgStream | |
| Stream | imageStream | The Stream instance of fallback image. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Stream, Stream, int, int)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Stream svgStream, Stream imageStream, int scaleWidth, int scaleHeight)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Stream | svgStream | Svg stream with the picture. |
| Stream | imageStream | The Stream instance of fallback image. |
| int | scaleWidth | Width scale in percents. |
| int | scaleHeight | Height scale in percents. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Stream, int, int)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Stream stream, int scaleWidth, int scaleHeight)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Stream | stream | Stream with the picture. |
| int | scaleWidth | Width scale in percents. |
| int | scaleHeight | Height scale in percents. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, Stream, int, int, ExcelImageFormat)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, Stream stream, int scaleWidth, int scaleHeight, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| Stream | stream | Stream with the picture. |
| int | scaleWidth | Width scale in percents. |
| int | scaleHeight | Height scale in percents. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, int, int, Image)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, int bottomRow, int rightColumn, Image image)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| int | bottomRow | Bottom row. |
| int | rightColumn | Right column. |
| Image | image | Image. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, int, int, Image, ExcelImageFormat)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, int bottomRow, int rightColumn, Image image, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| int | bottomRow | Bottom row. |
| int | rightColumn | Right column. |
| Image | image | Image to add. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, int, int, Stream)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, int bottomRow, int rightColumn, Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| int | bottomRow | Bottom row. |
| int | rightColumn | Right column. |
| Stream | stream | Stream with the picture. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPicture(int, int, int, int, Stream, ExcelImageFormat)
Adds image to the collection.
Declaration
public IPictureShape AddPicture(int topRow, int leftColumn, int bottomRow, int rightColumn, Stream stream, ExcelImageFormat imageFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of a new picture. |
| int | leftColumn | Left column. |
| int | bottomRow | Bottom row. |
| int | rightColumn | Right column. |
| Stream | stream | Stream with the picture. |
| ExcelImageFormat | imageFormat | Image format to use for picture storing. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |
AddPictureAsLink(int, int, int, int, string)
Adds image from the given external link.
Declaration
public IPictureShape AddPictureAsLink(int topRow, int leftColumn, int bottomRow, int rightColumn, string url)
Parameters
| Type | Name | Description |
|---|---|---|
| int | topRow | Top row of the picture to start with. |
| int | leftColumn | Left column of the picture to start with. |
| int | bottomRow | Bottom row of the picture to end with. |
| int | rightColumn | Right column of the picture to end with. |
| string | url | Url of the picture. |
Returns
| Type | Description |
|---|---|
| IPictureShape | Added picture. |