Syncfusion.XlsIO.Base
Example 


Pictures Property (ITabSheet)

Gets the IPictures collection in the sheet. Read-only.
Syntax
'Declaration
 
ReadOnly Property Pictures As IPictures
'Usage
 
Dim instance As ITabSheet
Dim value As IPictures
 
value = instance.Pictures
IPictures Pictures {get;}
Example
using Syncfusion.XlsIO;
            
class Program
{
    static void Main()
    {
        using (ExcelEngine excelEngine = new ExcelEngine())
        {
            //Create worksheet
            IApplication application = excelEngine.Excel;
            application.DefaultVersion = ExcelVersion.Excel2013;
            IWorkbook workbook = application.Workbooks.Create(1);
            IWorksheet worksheet = workbook.Worksheets[0];
            
            //Add picture
            worksheet.Pictures.AddPicture("Image.png");
            
            //Get picture
            IPictureShape picture = worksheet.Pictures[0];
            
            //Save and dispose
            workbook.SaveAs("Shapes.xlsx");
            workbook.Close();
        }
    }
}
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also