API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.ApplyStyle method
Applies a style to the text in the range
Syntax:
Sub ApplyStyle(ByVal StyleName As String)
Parameters:
Name Type Description
StyleName
String
Remarks:
The ApplyStyle method applies a style to the text in the text range.