Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.12 KB

Word.WebOptions.AllowPNG.md

File metadata and controls

46 lines (26 loc) · 1.12 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
WebOptions.AllowPNG property (Word)
vbawd10.chm165937159
vbawd10.chm165937159
Word.WebOptions.AllowPNG
61fb3c31-0c6a-f4f0-390b-81d0ffa348ec
06/08/2017
medium

WebOptions.AllowPNG property (Word)

True if PNG (Portable Network Graphics) is allowed as an image format when you save a document as a webpage. False if PNG is not allowed as an output format. The default value is False. Read/write Boolean.

Syntax

expression.AllowPNG

expression A variable that represents a WebOptions collection.

Remarks

If you save images in the PNG format and if the web browsers you are targeting support the PNG format, you might improve the image quality or reduce the size of those image files, and therefore decrease the download time.

Example

This example enables PNG as an output format for the active document.

ActiveDocument.WebOptions.AllowPNG = True

See also

WebOptions Object

[!includeSupport and feedback]