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


fileName
Name of the file.
inputMapMode
The input map mode.
operationMode
The operation mode.

Glossary Item Box

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

Syntax

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

Parameters

fileName
Name of the file.
inputMapMode
The input map mode.
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");
VB.NETCopy 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.