DocContent object
Changes the security level used for interpretation of characters in a Word object.
Object.SetSecurityLevel( SecurityLevel )
|
Part |
Data type |
Description |
|
Object |
DocContent |
|
|
SecurityLevel |
Integer |
A value from 0 to 9 specifying the desired security level. 0 is the minimum level. It results in lots of guesses and faster interpretation. 9 is the maximum level, and it results in fewer guesses, slower interpretation, and fewer substitutes. For more information, see FORMS Help topic Field security. |
None.
This example shows a general outline of how to use the method.
Set mobjDocCont = Application.FindAllObjects(0)
mobjDocCont.SetSecurityLevel(2) ‘ Default is 3
Set objWrd = mobjDocCont.GetFirstWord()
Call objWrd.Interpret("A(1-50)", ALPHA_U + ALPHA_L, PRINTED)
Note: This code may not be suitable for use without additions based on your intended purpose.