Previous Document Next Document

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


StyleSheet.CreateStyleSetFromTextRange

Function CreateStyleSetFromTextRange(TextRange As TextRange, [Name As String], [ReplaceExisting As Boolean = False]) As Styles

Description

Member of StyleSheet

The CreateStyleSetFromTextRange method creates style sets from a range of text characters.

Parameter
Description
TextRange
Specifies a text range
Name
Specifies the name of the new style set. 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.