GetDescription Method

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Oct/2016, at 12:23

Description

Returns the style name of the style associated with the object (or an empty string if style has no style name).

This property is read-only.

Syntax

object.GetDescription

object

Required. Object name, returned by Text.GetTextStyle and GetParaStyle.

Remarks

This script gets the current text style and display its description:

Dim objStyle = Text.GetTextStyle

msgbox ("Description=" & objStyle.GetDescription)

Note: you cannot set this property. Use Name instead.