Sets the text format for the specified text segment in the current paragraph.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetTextSegmentFormat( _
ByVal Segment As System.Integer, _
ByVal Format As System.Object _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IParagraphs
Dim Segment As System.Integer
Dim Format As System.Object
Dim value As System.Boolean
value = instance.SetTextSegmentFormat(Segment, Format) |
C# | |
---|
System.bool SetTextSegmentFormat(
System.int Segment,
System.object Format
) |
C++/CLI | |
---|
System.bool SetTextSegmentFormat(
& System.int Segment,
& System.Object^ Format
) |
Parameters
- Segment
- 0-based index of the text segment whose format to set
- Format
- ITextFormat
Return Value
True if successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2016 FCS, Revision Number 24.0