Tpmc9BaseLoadSmartObjects(String) Method |
Load a smart object given a SGD Filename with an absolute path.
Namespace: Crestron.SimplSharpPro.UIAssembly: Crestron.SimplSharpPro.UI (in Crestron.SimplSharpPro.UI.dll) Version: 2.21.121
Syntaxpublic uint LoadSmartObjects(
string paramSgdFilename
)
Parameters
- paramSgdFilename String
- A string that contains the the name of the file to load (with full path).
Return Value
UInt32The number of smart objects loaded.
Implements
ISmartObjectLoadSmartObjects(String)
Exceptions
Example
The following will show an Tpmc9 loading SmartObjects off the file system.
var sgPanel = new Tpmc9(0x05, this);
sgPanel.LoadSmartObjects(Directory.GetApplicationDirectory() + "\\xPanel.sgd");
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also