Spread for ASP.NET 10 Product Documentation
PageIndex Property (SpreadImage)
Example 


Gets or sets a page index which the current spread image is displayed in.
Syntax
'Declaration
 
Public Overridable Property PageIndex As Integer
'Usage
 
Dim instance As SpreadImage
Dim value As Integer
 
instance.PageIndex = value
 
value = instance.PageIndex
public virtual int PageIndex {get; set;}
Example
This example sets the PageIndex property.
if (this.IsPostBack) return;
FpSpread1.ActiveSheetView.RowCount = 50;
FarPoint.Web.Spread.SpreadImage Image = new FarPoint.Web.Spread.SpreadImage();
Image.PageIndex = 2;
Image.ImageUrl = "fplogo.png";
Image.Width = 200;
Image.Height = 150;
FpSpread1.ActiveSheetView.Images.Add(Image);
If (Me.IsPostBack) Then Return
FpSpread1.ActiveSheetView.RowCount = 50
Dim Image As New FarPoint.Web.Spread.SpreadImage()
Image.PageIndex = 2
Image.ImageUrl = "fplogo.png"
Image.Width = 200
Image.Height = 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

SpreadImage Class
SpreadImage Members

 

 


Copyright © GrapeCity, inc. All rights reserved.