Spread for ASP.NET 10 Product Documentation
Add Method (SpreadImageCollection)
Example 


The SpreadImage object to add to the SpreadImageCollection.
Adds an image to the SpreadImageCollection object.
Syntax
'Declaration
 
Public Function Add( _
   ByVal image As SpreadImage _
) As Integer
'Usage
 
Dim instance As SpreadImageCollection
Dim image As SpreadImage
Dim value As Integer
 
value = instance.Add(image)
public int Add( 
   SpreadImage image
)

Parameters

image
The SpreadImage object to add to the SpreadImageCollection.

Return Value

The position into which the new image was inserted.
Example
This example adds an image to the sheet.
FarPoint.Web.Spread.SpreadImage image = new FarPoint.Web.Spread.SpreadImage("fplogo.png", 50, 50, 200, 150);
FpSpread1.ActiveSheetView.Images.Add(image);
Dim Image As New FarPoint.Web.Spread.SpreadImage("fplogo.png", 50, 50, 200, 150)
FpSpread1.ActiveSheetView.Images.Add(Image)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SpreadImageCollection Class
SpreadImageCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.