Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.3 KB

Word.Font.Outline.md

File metadata and controls

63 lines (40 loc) · 1.3 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Font.Outline property (Word)
vbawd10.chm156369043
vbawd10.chm156369043
Word.Font.Outline
f2ec3056-5b5d-be3c-af8d-1eed86b4d01e
06/08/2017
medium

Font.Outline property (Word)

True if the font is formatted as outline. Read/write Long.

Syntax

expression.Outline

expression An expression that returns a Font object.

Remarks

Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle.

Example

This example applies outline font formatting to the first three words in the active document.

Set myRange = ActiveDocument.Range(Start:= _ 
 ActiveDocument.Words(1).Start, _ 
 End:=ActiveDocument.Words(3).End) 
myRange.Font.Outline = True

This example toggles outline formatting for the selected text.

Selection.Font.Outline = wdToggle

This example removes outline font formatting from the selection if outline formatting is partially applied to the selection.

Set myFont = Selection.Font 
If myFont.Outline = wdUndefined Then 
 myFont.Outline = False 
End If

See also

Font Object

[!includeSupport and feedback]