DefaultWebOptions.AllowPNG Property

True if PNG (Portable Network Graphics) is allowed as an image format when you save a document as a Web page. False if PNG is not allowed as an output format. The default value is False.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property AllowPNG As Boolean
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As Boolean

value = instance.AllowPNG

instance.AllowPNG = value
bool AllowPNG { get; set; }

Property Value

Type: System.Boolean

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.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Word Namespace