編輯

共用方式為


WebOptions.AllowPNG Property

Definition

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

public:
 property bool AllowPNG { bool get(); void set(bool value); };
public bool AllowPNG { get; set; }
Public Property AllowPNG As Boolean

Property Value

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.

Applies to