API Documentation > CorelDRAW > 2025-v26 > StyleSheet > IVGStyleSheet
StyleSheet.CreateStyleSetFromShapeRange method
Creates style sets from a shape range
Syntax:
Function CreateStyleSetFromShapeRange(ByVal ShapeRange As ShapeRange, Optional ByVal Name As String, Optional ByVal ReplaceExisting As Boolean = False) As Styles
Parameters:
Name Type Description
ShapeRange
Name
String
ReplaceExisting
Boolean
Remarks:
The CreateStyleFromShapeRange method creates style sets from a shape range.