Spread for ASP.NET 7.0 Product Documentation
AutoPlay Property
See Also  Example Support Options
FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > SlideShowCellType Class : AutoPlay Property


Glossary Item Box

Gets or sets whether the slide show plays automatically on render.

Syntax

Visual Basic (Declaration) 
Public Property AutoPlay As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SlideShowCellType
Dim value As Boolean
 
instance.AutoPlay = value
 
value = instance.AutoPlay
C# 
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.
C#Copy Code
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;
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.