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