Loads the XML input map file using the specified input map mode and operation mode.
Syntax
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) |
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.NET | 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") |
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