Spread ASP.NET 6.0 Product Documentation
AutoPlay Property
See Also  Example Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.