BasicTriListWithSmartObjectLoadSmartObjects(String) Method |
Load a smart object given a SGD Filename with an absolute path.
Namespace: Crestron.SimplSharpPro.DeviceSupportAssembly: SimplSharpPro (in SimplSharpPro.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 Xpanel loading SmartObjects off the file system.
var sgPanel = new XpanelForSmartGraphics(0x05, this);
sgPanel.LoadSmartObjects(Directory.GetApplicationDirectory() + "\\xPanel.sgd");
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also