편집

다음을 통해 공유


Balloon.Heading Property

Definition

Returns or sets the heading that appears in the Office Assistant balloon.

public:
 property System::String ^ Heading { System::String ^ get(); void set(System::String ^ value); };
public string Heading { get; set; }
member this.Heading : string with get, set
Public Property Heading As String

Property Value

Remarks

Some of the content in this topic may not be applicable to some languages.

You can specify a graphic to be displayed in the balloon heading by using the following syntax: {type location sizing_factor}, where type is bmp (bitmap) or wmf (Windows metafile), location is the resource ID or the path and file name, and sizing_factor specifies the width of the wmf (omitted for bmp).

The balloon heading also supports underlined text and text that has one of the 16 system palette colors applied to it. To display underlined text in a heading, use the syntax {ul} or {ul 1}; use {ul 0} to turn underlining off. To change the color of heading text, precede the text string with the character sequence {cf number}, where number is one of the system color numbers listed in the following table.

0 Black
1 Dark red
2 Dark green
3 Dark yellow
4 Dark blue
5 Dark magenta
6 Dark cyan
7 Light gray
248 Medium gray
249 Red
250 Green
251 Yellow
252 Blue
253 Magenta
254 Cyan
255 White

If you specify a number other than one of the preceding system color numbers, the heading text is black.

Applies to