Spread Windows Forms 7.0 Product Documentation
LoadXmlInputMapFile(String,OperationMode) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > LoadXmlInputMapFile Method : LoadXmlInputMapFile(String,OperationMode) Method


fileName
Name of the file.
operationMode
The operation mode.

Glossary Item Box

Loads the XML input map file using the specified operation mode.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub LoadXmlInputMapFile( _
   ByVal fileName As String, _
   ByVal operationMode As OperationMode _
) 
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim fileName As String
Dim operationMode As OperationMode
 
instance.LoadXmlInputMapFile(fileName, operationMode)
C# 
public void LoadXmlInputMapFile( 
   string fileName,
   OperationMode operationMode
)

Parameters

fileName
Name of the file.
operationMode
The operation mode.

Example

This example uses the LoadXmlInputMapFile method.
C#Copy Code
fpSpread1.LoadXmlInputMapFile("file.xml", FarPoint.Win.Spread.OperationMode.Normal);
fpSpread1.LoadXmlInputMapFile("file.xml", FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused, FarPoint.Win.Spread.OperationMode.Normal);
fpSpread1.LoadXmlInputMapFile("file.xml");
fpSpread1.LoadXmlInputMapFileWhenChildHasFocus("file.xml");
fpSpread1.LoadXmlInputMapFileWhenShapeHasFocus("file.xml");
Visual BasicCopy Code
FpSpread1.LoadXmlInputMapFile("file.xml", FarPoint.Win.Spread.OperationMode.Normal)
FpSpread1.LoadXmlInputMapFile("file.xml", FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused, FarPoint.Win.Spread.OperationMode.Normal)
FpSpread1.LoadXmlInputMapFile("file.xml")
FpSpread1.LoadXmlInputMapFileWhenChildHasFocus("file.xml")
FpSpread1.LoadXmlInputMapFileWhenShapeHasFocus("file.xml")

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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