WebOptions.AllowPNG Property
Determines whether PNG (Portable Network Graphics) is allowed as an output format when you save or publish a complete or partial presentation as a Web page. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property AllowPNG As MsoTriState
Get
Set
'Usage
Dim instance As WebOptions
Dim value As MsoTriState
value = instance.AllowPNG
instance.AllowPNG = value
MsoTriState AllowPNG { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
Remarks
If you save images in the PNG format, as opposed to any other file format, you might improve the image quality or reduce the size of those image files, and therefore decrease the download time, assuming that the Web browsers you are targeting support the PNG format.
The value of the AllowPNG property can be one of the following MsoTriState constants:
Constant |
Description |
---|---|
The default. PNG is not allowed as an output format when you save or publish a complete or partial presentation as a Web page. |
|
PNG is allowed as an image format when you save or publish a complete or partial presentation as a Web page. |