Previous Document Next Document

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


StyleSheet.CreateStyle

Function CreateStyle(Category As String, [BasedOn As String], [Name As String], [ReplaceExisting As Boolean = False]) As Style

Description

Member of StyleSheet

The CreateStyle method creates a style.

Parameter
Description
Category
Specifies the style category
BasedOn
Specifies the name of the style on which the new style is based. This parameter is optional.
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.