Spread Windows Forms 6.0 Product Documentation
SaveXml(SheetView,Stream,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > SpreadSerializer Class > SaveXml Method : SaveXml(SheetView,Stream,Boolean) Method


sheetView
The sheet view to save
stream
Stream to which to save the sheet view as XML
dataOnly
Whether to save only the data in the sheet view

Glossary Item Box

Saves an entire sheet view to an XML stream.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function SaveXml( _
   ByVal sheetView As SheetView, _
   ByVal stream As Stream, _
   ByVal dataOnly As Boolean _
) As Boolean
Visual Basic (Usage)Copy Code
Dim sheetView As SheetView
Dim stream As Stream
Dim dataOnly As Boolean
Dim value As Boolean
 
value = SpreadSerializer.SaveXml(sheetView, stream, dataOnly)
C# 
public static bool SaveXml( 
   SheetView sheetView,
   Stream stream,
   bool dataOnly
)

Parameters

sheetView
The sheet view to save
stream
Stream to which to save the sheet view as XML
dataOnly
Whether to save only the data in the sheet view

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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