Spread for ASP.NET 11 Product Documentation
AutoPlay Property
Example 


FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > SlideShowCellType Class : AutoPlay Property
Gets or sets whether the slide show plays automatically on render.
Syntax
'Declaration
 
Public Property AutoPlay As Boolean
'Usage
 
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
Example
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

Reference

SlideShowCellType Class
SlideShowCellType Members