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:
UseAlignment
Specifies the alignment:
UseSpacing
Specifies the spacing:
•
1 = inter-character spacing
•
8 = spacing before paragraphs
UseLines
Specifies the lines:
UseIndentsAndMargins
Specifies the indentation and margins:
•
2 = first-line indentation
•
4 = rest-of-lines indentation
UseTextEffects
Specifies the text effect:
•
1 = superscript/subscript
Copyright 2013 Corel Corporation. All rights reserved.