Share via


DefaultWebOptions Object Members

Word Developer Reference

Contains global application-level attributes used by Microsoft Word when you open a Web page or save a document as a Web page.

Properties

  Name Description
Bb257520.properties(en-us,office.12).gif AllowPNG False if PNG (Portable Network Graphics) is not allowed as an output format. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif AlwaysSaveInDefaultEncoding True if the default encoding is used when you save a Web page or plain text document, independent of the file's original encoding when opened. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257520.properties(en-us,office.12).gif BrowserLevel Returns or sets a WdBrowserLevel constant that represents the level of the Web browser for which you want to target new Web pages created in Microsoft Word. Read/write.
Bb257520.properties(en-us,office.12).gif CheckIfOfficeIsHTMLEditor True if Microsoft Word checks to see whether an Office application is the default HTML editor when you start Word. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif CheckIfWordIsDefaultHTMLEditor True if Microsoft Word checks to see whether it is the default HTML editor when you start Word. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257520.properties(en-us,office.12).gif Encoding Returns or sets the document encoding (code page or character set) to be used by the Web browser when you view the saved document. Read/write MsoEncoding.
Bb257520.properties(en-us,office.12).gif FolderSuffix Returns a String that represents the folder suffix that Microsoft Word uses when you save a document as a Web page, use long file names, or save supporting files in a separate folder. Read-only.
Bb257520.properties(en-us,office.12).gif Fonts Returns the WebPageFonts collection representing the set of fonts Microsoft Word uses when you open a Web page in Word.
Bb257520.properties(en-us,office.12).gif OptimizeForBrowser True if Microsoft Word optimizes new Web pages created in Word for the Web browser specified by the BrowserLevel property. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif OrganizeInFolder True if all supporting files, such as background textures and graphics, are organized in a separate folder when you save the specified document as a Web page. False if supporting files are saved in the same folder as the Web page. The default value is True. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified DefaultWebOptions object.
Bb257520.properties(en-us,office.12).gif PixelsPerInch Returns or sets the density (pixels per inch) of graphics images and table cells on a Web page. Read/write Long.
Bb257520.properties(en-us,office.12).gif RelyOnCSS True if cascading style sheets (CSS) are used for font formatting when you view a saved document in a Web browser. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif RelyOnVML True if image files are not generated from drawing objects when you save a document as a Web page. False if images are generated. The default value is False. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif SaveNewWebPagesAsWebArchives True for Microsoft Word to save new Web pages using the Single File Web Page (formerly known as Web Archive) format. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif ScreenSize Returns or sets the ideal minimum screen size (width by height, in pixels) that you should use when viewing the saved document in a Web browser. Read/write MsoScreenSize.
Bb257520.properties(en-us,office.12).gif TargetBrowser Sets or returns an MsoTargetBrowser constant representing the target browser for documents viewed in a Web browser. Read/write.
Bb257520.properties(en-us,office.12).gif UpdateLinksOnSave True if hyperlinks and paths to all supporting files are automatically updated before you save the document as a Web page. Read/write Boolean.
Bb257520.properties(en-us,office.12).gif UseLongFileNames True if long file names are used when you save the document as a Web page. False if long file names are not used and the DOS file name format (8.3) is used. The default value is True. Read/write Boolean.