Previous Document Next Document

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


CorelScript.SaveStyleAs

Function SaveStyleAs(Style As String, Fill As Boolean, Outline As Boolean, TypeFace As Boolean, TypeStyle As Boolean, Size As Boolean, Justify As Boolean, Tabs As Boolean, Hyphenation As Boolean, SpaceChar As Boolean, SpaceWord As Boolean, SpaceLine As Boolean, BeforePara As Boolean, AfterPara As Boolean, Underline As Boolean, Overline As Boolean, StrikeOut As Boolean, BulletIndent As Boolean, FirstLineIndent As Boolean, RestOfLinesIndent As Boolean, RightMargin As Boolean, SuperOrSubScript As Boolean, Capitalize As Boolean, Bullet As Boolean) As Long

Description

Member of CorelScript

The SaveStyleAs method saves the style of the current object as a new style.

Parameter
Description
Style
Specifies the name of the new style
Fill
Specifies whether to include fill properties. True (-1) enables this option, while False (0) disables it.
Outline
Specifies whether to include outline properties. True (-1) enables this option, while False (0) disables it.
TypeFace
Specifies whether to include typeface properties. True (-1) enables this option, while False (0) disables it.
TypeStyle
Specifies whether to include type-style properties. True (-1) enables this option, while False (0) disables it.
Size
Specifies whether to include size properties. True (-1) enables this option, while False (0) disables it.
Justify
Specifies whether to include text-justification properties. True (-1) enables this option, while False (0) disables it.
Tabs
Specifies whether to include tab-stop properties. True (-1) enables this option, while False (0) disables it.
Hyphenation
Specifies whether to include hyphenation properties. True (-1) enables this option, while False (0) disables it.
SpaceChar
Specifies whether to include character-spacing properties. True (-1) enables this option, while False (0) disables it.
SpaceWord
Specifies whether to include word-spacing properties. True (-1) enables this option, while False (0) disables it.
SpaceLine
Specifies whether to include line-spacing properties. True (-1) enables this option, while False (0) disables it.
BeforePara
Specifies whether to include paragraph-spacing properties (before the paragraph). True (-1) enables this option, while False (0) disables it.
AfterPara
Specifies whether to include paragraph-spacing properties (after the paragraph). True (-1) enables this option, while False (0) disables it.
Underline
Specifies whether to include text-underline properties. True (-1) enables this option, while False (0) disables it.
Overline
Specifies whether to include text-overline properties. True (-1) enables this option, while False (0) disables it.
StrikeOut
Specifies whether to include strike-out properties for text. True (-1) enables this option, while False (0) disables it.
BulletIndent
Specifies whether to include bullet-indentation properties. True (-1) enables this option, while False (0) disables it.
FirstLineIndent
Specifies whether to include indentation properties for the first line. True (-1) enables this option, while False (0) disables it.
RestOfLinesIndent
Specifies whether to include indentation properties for the remaining lines (as in hanging indentation). True (-1) enables this option, while False (0) disables it.
RightMargin
Specifies whether to include right-margin properties. True (-1) enables this option, while False (0) disables it.
SuperOrSubScript
Specifies whether to include superscript or subscript properties. True (-1) enables this option, while False (0) disables it.
Capitalize
Specifies whether to include capitalization properties. True (-1) enables this option, while False (0) disables it.
Bullet
Specifies whether to include bullet properties. True (-1) enables this option, while False (0) disables it.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.