How to add multiple patterns using MergePatterns Method of the Engine Object

Question

How to add multiple patterns using the "MergePatterns" Method of the Engine Object.

Answer

Please, have a look at the code sample with the correct IStringsCollection instance created:

 IStringsCollection aa = engineLoader.Engine.CreateStringsCollection();
aa.Add("C:\\Users\\User\\Desktop\\Patterns\\Full\\t(1).ptn");
aa.Add("C:\\Users\\User\\Desktop\\Patterns\\Full\\t(2).ptn");
aa.Add("C:\\Users\\User\\Desktop\\Patterns\\Full\\t(3).ptn");
EngineLoader.Engine.MergePatterns(aa, "C:\\Users\\User\\Desktop\\Patterns\\Full\\Merged.ptn");

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.