SetTemplateBinDir method |
|
Remarks Sets a directory from which the extended 3D control templates, created using the SaveTemplateEx method and loaded using the LoadTemplate method, will take the binary files for pictures, animations, textures, sounds and cursor. Usually 3D control extended templates store binary files pathnames that are relative to the machine used to develop the application: these pathnames will be probably invalid when the application runs over the target machine: using this method, only the binary filename will be taken form the extended template and appended to the strFilepath parameter in order to obtain the target machine directory: usually this directory is created by the application setup program. It is recommended that you call this method for every kind of binary file that has been stored inside the extended template. For further information about 3D control templates support take a look to the section How to manage 3D control templates
Syntax
[Visual Basic] Public Sub SetTemplateBinDir(nType as Ctl3d.TplBinTypes, strFilePath as String)
[C#] public void SetTemplateBinDir(Ctl3d.TplBinTypes nType, string strFilePath);
[C++] public: void SetTemplateBinDir(Ctl3d.TplBinTypes nType, String* strFilePath);
|