Spread ASP.NET 14
FarPoint.Web.Spread.Extender Assembly / FarPoint.Web.Spread.Extender Namespace / SlideShowCellType Class / AutoPlay Property

In This Topic
    AutoPlay Property
    In This Topic
    Gets or sets whether the slide show plays automatically on render.
    Public Property AutoPlay As Boolean
    Dim instance As SlideShowCellType
    Dim value As Boolean
    instance.AutoPlay = value
    value = instance.AutoPlay
    public bool AutoPlay {get; set;}

    Property Value

    Boolean: true to have the slide show play automatically; false otherwise
    This example creates a slide show cell type.
    FarPoint.Web.Spread.Extender.SlideShowCellType ss = new FarPoint.Web.Spread.Extender.SlideShowCellType();
    ss.Loop = true;
    ss.PlayInterval = 1000;
    ss.AutoPlay = true;
    ss.SlideShowServiceMethod = "GetSlides";
    FpSpread1.ActiveSheetView.Cells[0, 0].CellType = ss;
    Dim ss As New FarPoint.Web.Spread.Extender.SlideShowCellType
    ss.AutoPlay = True
    ss.Loop = True
    ss.PlayInterval = 1000
    ss.SlideShowServiceMethod = "GetSlides"
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = ss
    See Also