Sdl.MultiTerm.TMO.Interop.LayoutDefinitions class
Name
Sdl.MultiTerm.TMO.Interop.LayoutDefinitions — Provides programmatic access to the layout definitions of a termbase.
Description
Via this class you can access the layout definitions associated with a particular termbase. You can use it to, for example, generate a list of available layouts.
Properties
- Count: Returns the number of available layout definitions.
- Item: Provides access to a particular layout definition.
Methods
- Add: Adds a new layout definition to the collection.
- Refresh: Updates the layout definition collection.
- StartWizard: Starts the Layout Definition wizard.
Sample
Termbase oTb = oTbs["Termbase name"];
LayoutDefinitions oLayouts = oTb.LayoutDefinitions;
Debug.Write("Number of layouts: +" + oLayouts.Count);
for(int i=0;i<oLayouts.Count;i++)
{
Debug.WritoLayouts[i].Name);
}