Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.SaveStyleProp


CorelScript.SaveStyleProp

Function SaveStyleProp(StyleName As String, UseFill As Boolean, UseOutline As Boolean, UseFont As Long, UseAlignment As Long, UseSpacing As Long, UseLines As Long, UseIndentsAndMargins As Long, UseTextEffects As Long) As Long

Description

Member of CorelScript

The SaveStyleProp method saves a style based on the current properties.

Parameter
Description
StyleName
Specifies the name of the new style
UseFill
Specifies whether to include save the fill as part of the style. True (-1) enables this option.
UseOutline
Specifies whether to save the outline as part of the style. True (-1) enables this option.
UseFont
Specifies the font:
 
1 = typeface
 
2 = typestyle
 
4 = size
UseAlignment
Specifies the alignment:
 
1 = justification
 
2 = tabs
 
4 = hyphenation
UseSpacing
Specifies the spacing:
 
1 = inter-character spacing
 
2 = inter-word spacing
 
4 = interline spacing
 
8 = spacing before paragraphs
UseLines
Specifies the lines:
 
1 = underline
 
2 = overline
 
4 = strike-out
UseIndentsAndMargins
Specifies the indentation and margins:
 
1 = bullet indentation
 
2 = first-line indentation
 
4 = rest-of-lines indentation
 
8 = right margin
UseTextEffects
Specifies the text effect:
 
1 = superscript/subscript
 
2 = capitalization
 
4= bullet

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.