API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.ApplyDropCapEffect method
Applies drop cap effect to paragraphs in the range
Syntax:
Sub ApplyDropCapEffect(Optional ByVal LinesDropped As Long = 3, Optional ByVal DistanceFromText As Double = 0, Optional ByVal HangingIndent As Boolean = False)
Parameters:
Name Type Description
LinesDropped
Long
Specifies the number of lines that the drop-cap effect drops.
DistanceFromText
Double
Specifies the distance between the drop cap and the rest of the text.
HangingIndent
Boolean
Specifies the hanging indentation for paragraphs when the drop-cap effect is applied.
Remarks:
The ApplyDropCapEffect method applies a drop-cap effect to the paragraphs in a text range.