Share via


Style Property

Style property as it applies to the LineFormat object.

MsoLineStyle

MsoLineStyle can be one of these MsoLineStyle constants.
msoLineSingle
msoLineStyleMixed
msoLineThickBetweenThin
msoLineThickThin
msoLineThinThick
msoLineThinThin

expression.Style

*expression   * Required. An expression that returns one of the above objects.

Style property as it applies to the BulletFormat object.

PpNumberedBulletStyle

PpNumberedBulletStyle can be one of these PpNumberedBulletStyle constants.
ppBulletAlphaLCParenBoth Lowercase alphabetic characters with both parentheses.
ppBulletAlphaLCParenRight Lowercase alphabetic characters with right parenthesis.
ppBulletAlphaLCPeriod Lowercase alphabetic characters with a period.
ppBulletAlphaUCParenBoth Uppercase alphabetic characters with both parentheses.
ppBulletAlphaUCParenRight Uppercase alphabetic characters with right parenthesis.
ppBulletAlphaUCPeriod Uppercase alphabetic characters with a period.
ppBulletArabicAbjadDash Arabic Abjad alphabets with a dash.
ppBulletArabicAlphaDash Arabic language alphabetic characters with a dash.
ppBulletArabicDBPeriod Double-byte Arabic numbering scheme with double-byte period.
ppBulletArabicDBPlain Double-byte Arabic numbering scheme (no punctuation).
ppBulletArabicParenBoth Arabic numerals with both parentheses.
ppBulletArabicParenRight Arabic numerals with right parenthesis.
ppBulletArabicPeriod Arabic numerals with a period.
ppBulletArabicPlain Arabic numerals.
ppBulletCircleNumDBPlain Double-byte circled number for values up to 10.
ppBulletCircleNumWDBlackPlain Shadow color number with circular background of normal text color.
ppBulletCircleNumWDWhitePlain Text colored number with same color circle drawn around it.
ppBulletHebrewAlphaDash Hebrew language alphabetic characters with a dash.
ppBulletHindiAlphaPeriod
ppBulletHindiNumPeriod
ppBulletKanjiKoreanPeriod Japanese/Korean numbers with a period.
ppBulletKanjiKoreanPlain Japanese/Korean numbers without a period.
ppBulletRomanLCParenBoth Lowercase Roman numerals with both parentheses.
ppBulletRomanLCParenRight Lowercase Roman numerals with right parenthesis.
ppBulletRomanLCPeriod Lowercase Roman numerals with period.
ppBulletRomanUCParenBoth Uppercase Roman numerals with both parentheses.
ppBulletRomanUCParenRight Uppercase Roman numerals with right parenthesis.
ppBulletRomanUCPeriod Uppercase Roman numerals with period.
ppBulletSimpChinPeriod Simplified Chinese with a period.
ppBulletSimpChinPlain Simplified Chinese without a period.
ppBulletStyleMixed Any undefined style.
ppBulletThaiAlphaParenBoth
ppBulletThaiAlphaParenRight
ppBulletThaiAlphaPeriod
ppBulletThaiNumParenBoth
ppBulletThaiNumParenRight
ppBulletThaiNumPeriod
ppBulletTradChinPeriod Traditional Chinese with a period.
ppBulletTradChinPlain Traditional Chinese without a period.

expression.Style

*expression   * Required. An expression that returns one of the above objects.

Example

As it applies to the LineFormat object.

This example adds a thick, blue compound line to myDocument. The compound line consists of a thick line with a thin line on either side of it.

Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes.AddLine(10, 10, 250, 250).Line
    .Style = msoLineThickBetweenThin
    .Weight = 8
    .ForeColor.RGB = RGB(0, 0, 255)
End With

As it applies to the BulletFormat object.

This example sets the bullet style for the bulleted list, represented by shape one on the first slide, to a shadow color number with circular background of normal text color.

ActivePresentation.Slides(1).Shapes(1).TextFrame _
    .TextRange.ParagraphFormat.Bullet _
        .Style = ppBulletCircleNumWDBlackPlain

Applies to | BulletFormat Object | LineFormat Object