Sets the text format for this sketch text.  
             
            
.NET Syntax
| Visual Basic (Declaration) |  | 
|---|
| Function SetTextFormat( _
   ByVal UseDoc As System.Boolean, _
   ByVal TextFormat As System.Object _
) As System.Boolean | 
| Visual Basic (Usage) |  | 
|---|
| Dim instance As ISketchText
Dim UseDoc As System.Boolean
Dim TextFormat As System.Object
Dim value As System.Boolean
 
value = instance.SetTextFormat(UseDoc, TextFormat) | 
| C++/CLI |  | 
|---|
| System.bool SetTextFormat( 
&   System.bool UseDoc,
&   System.Object^ TextFormat
)  | 
Parameters
- UseDoc
- True to use the default model text format, false to use a local text format 
- TextFormat
- Local text format to use if UseDoc is false 
Return Value
True if the text format was successfully set, false if not
Remarks
 
            
            See Also
 
            Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0