GemBox.Spreadsheet

ExcelPictureCollection Class

Collection of the ExcelPicture.

For a list of all members of this type, see ExcelPictureCollection Members.

System.Object
   GemBox.Spreadsheet.ExcelPictureCollection

public class ExcelPictureCollection : IEnumerable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Suported only in xlsx.

Example

Following code demonstrates how to use images. It shows next features:

  1. bmp, jpeg loading
  2. bmp, jpeg loading with custom coordinates and dimensions
[Visual Basic]
    sheet.Pictures.Add( "Image.bmp" ) 
    sheet.Pictures.Add( "Image.bmp", New Rectangle(10, 50, 100, 100) )
[C#]
    sheet.Pictures.Add( "Image.bmp" );
    sheet.Pictures.Add( "Image.bmp", new Rectangle( 10, 50, 100, 100 ) );

Requirements

Namespace: GemBox.Spreadsheet

Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll)

See Also

ExcelPictureCollection Members | GemBox.Spreadsheet Namespace | ExcelPicture | ExcelWorksheet