Muokkaa

Jaa


Document.DoNotEmbedSystemFonts property (Word)

True for Microsoft Word to not embed common system fonts. Read/write Boolean.

Syntax

expression. DoNotEmbedSystemFonts

expression An expression that returns a Document object.

Remarks

Setting the Document property to False is useful if the user is on an East Asian system and wants to create a document that is readable by others who don't have fonts for that language on their system. For example, a user on a Japanese system could choose to embed the fonts in a document so that the Japanese document would be readable on all systems.

Example

This example embeds all fonts in the current document.

Sub EmbedFonts() 
 With ActiveDocument 
 If .EmbedTrueTypeFonts = False Then 
 .EmbedTrueTypeFonts = True 
 .DoNotEmbedSystemFonts = False 
 Else 
 .DoNotEmbedSystemFonts = False 
 End If 
 End With 
End Sub

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.