Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadImage Class / PageIndex Property

In This Topic
    PageIndex Property (SpreadImage)
    In This Topic
    Gets or sets a page index which the current spread image is displayed in.
    Public Overridable Property PageIndex As Integer
    Dim instance As SpreadImage
    Dim value As Integer
    instance.PageIndex = value
    value = instance.PageIndex
    public virtual int PageIndex {get; set;}
    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;
    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
    See Also