Gets document default user preference values. This method is intended for getting detailing text formats.  
             
            
.NET Syntax
| Visual Basic (Declaration) |  | 
|---|
| Function GetUserPreferenceTextFormat( _
   ByVal UserPref As System.Integer, _
   ByVal UserPrefOption As System.Integer _
) As TextFormat | 
| Visual Basic (Usage) |  | 
|---|
| Dim instance As IModelDocExtension
Dim UserPref As System.Integer
Dim UserPrefOption As System.Integer
Dim value As TextFormat
 
value = instance.GetUserPreferenceTextFormat(UserPref, UserPrefOption) | 
Parameters
- UserPref
- User preference as defined in swUserPreferenceTextFormat_e
- UserPrefOption
- User-preference option for customizing annotation and dimension drafting standards and as defined in swUserPreferenceOption_e; if not needed, then specify swDetailingNoOptionSpecified 
Return Value
Text format associated with UserPref
Example
            Remarks
 
            
            See Also
 
            Availability
SolidWorks 2009 FCS, Revision Number 17.0