Previous Document Next Document

Object Model Reference : Classes : S : StyleSheet : Methods : StyleSheet.CreateStyleFromShape


StyleSheet.CreateStyleFromShape

Function CreateStyleFromShape(Shape As Shape, Category As String, [Name As String], [ReplaceExisting As Boolean = False]) As Styles

Description

Member of StyleSheet

The CreateStyleFromShape method creates styles from a shape.

Parameter
Description
Shape
Specifies the shape from which to create the style
Category
Specifies the category of the new style
Name
Specifies the name of the new style. This parameter is optional.
ReplaceExisting
Specifies whether to replace an existing style that has the same name. This parameter is optional.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.