Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / PictureCollection Class / Add Method / Add(String,Int32) Method
The path for the image file that will be added.
The scale of the image.
The values start at 0 and represent a percentage. The default value is 100, which stands for 100%.


In This Topic
    Add(String,Int32) Method
    In This Topic
    Adds a picture in the worksheet using a filename.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal filename As String, _
       Optional ByVal scale As Integer _
    ) As Picture
    'Usage
     
    
    Dim instance As PictureCollection
    Dim filename As String
    Dim scale As Integer
    Dim value As Picture
     
    value = instance.Add(filename, scale)
    public Picture Add( 
       string filename,
       int scale
    )

    Parameters

    filename
    The path for the image file that will be added.
    scale
    The scale of the image.
    The values start at 0 and represent a percentage. The default value is 100, which stands for 100%.
    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