Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / PictureCollection Class / Add Method


In This Topic
    Add Method (PictureCollection)
    In This Topic
    Adds a new Picture in the PictureCollection.
    Overload List
    OverloadDescription
    Adds a picture in the worksheet using a filename.  
    Adds a picture in the worksheet using a stream.  
    Adds a picture in the worksheet using a filename and a specific position corresponding to the top left corner of the picture.  
    Adds a picture in the worksheet using a filename and a specific position corresponding to the top left corner of the picture.  
    Adds a picture in the worksheet using a stream and a specific position corresponding to the top left corner of the picture.  
    Adds a picture in the worksheet using a stream and a specific position corresponding to the top left corner of the picture.  
    Adds a picture in the worksheet using a filename and two specific positions, corresponding respectively to the picture's top left and bottom right corner.  
    Adds a picture in the worksheet using a filename and two specific positions, corresponding respectively to the picture's top left and bottom right corner.  
    Adds a picture in the worksheet using a filename and two specific positions, corresponding respectively to the picture's top left and bottom right corner.  
    Adds a picture in the worksheet using a filename and two specific positions, corresponding respectively to the picture's top left and bottom right corner.  
    Remarks

    With no cell, the position of the picture is 0,0. The dimensions of the picture are the one given by the picture file and are scaled with the picture resolution. The default scale percentage is 100% but can be anywhere between 1 and 100.

    With one cell, the position of the picture is determined by the CellAddress or by the index of the row and the column corresponding to the top left corner of the picture. The dimension of the picture are the ones given by the picture file and are scaled with the picture resolution. The default scale percentage is 100% but can be anywhere between 1 and 100.

    With two cells, the position of the picture is determined by the CellAddress or by the index of the row and the column corresponding to the top left corner of the picture. The dimension of the picture are determined by the CellAddress or by the index of the row and the column corresponding the bottom right corner of the picture.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also