Represents a picture object used by ExcelPictureCollection in the worksheet.

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 35.0.30.1025

Syntax

C#
public class ExcelPicture
Visual Basic
Public Class ExcelPicture

Examples

Following code demonstrates how to use images. It shows next features:
  1. bmp, jpeg loading
  2. bmp, jpeg loading with custom coordinates and dimensions
CopyVB.NET
sheet.Pictures.Add( "Image.bmp" ) 
sheet.Pictures.Add( "Image.bmp", New Rectangle(10, 50, 100, 100) )
CopyC#
sheet.Pictures.Add( "Image.bmp" );
sheet.Pictures.Add( "Image.bmp", new Rectangle( 10, 50, 100, 100 ) );

Inheritance Hierarchy

System..::..Object
  GemBox.Spreadsheet..::..ExcelPicture

See Also