GemBox.Spreadsheet

ExcelPicture Class

Represents a picture object used by ExcelPictureCollection in the worksheet.

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

System.Object
   GemBox.Spreadsheet.ExcelPicture

public class ExcelPicture

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.

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

ExcelPicture Members | GemBox.Spreadsheet Namespace | ExcelPictureCollection | ExcelPictureCollection