Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Word.Interfaces.WebSettingsLoadOptions interface
- Package:
- word
Represents the settings for saving a Word document as a webpage.
Properties
| $all | Specifying |
| allowPng | Specifies whether PNG is allowed as an image format when saving a document as a webpage. Default is |
| encoding | Specifies the document encoding (code page or character set) to be used by the web browser when viewing the saved document. |
| folderSuffix | Gets the folder suffix used when saving a document as a webpage with long file names and supporting files in a separate folder. |
| organizeInFolder | Specifies whether supporting files are organized in a separate folder when saving the document as a webpage. Default is |
| pixelsPerInch | Specifies the density (pixels per inch) of graphics images and table cells on a webpage. |
| relyOnCSS | Specifies whether cascading style sheets (CSS) are used for font formatting when viewing a saved document in a web browser. Default is |
| relyOnVectorMarkupLanguage | Specifies whether image files are not generated from drawing objects when saving a document as a webpage. Default is |
| screenSize | Specifies the ideal minimum screen size (width by height, in pixels) for viewing the saved document in a web browser. |
| targetBrowser | Specifies the target browser for documents viewed in a web browser. |
| useLongFileNames | Specifies whether long file names are used when saving the document as a webpage. Default is |
Property Details
$all
Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).
$all?: boolean;
Property Value
boolean
allowPng
Specifies whether PNG is allowed as an image format when saving a document as a webpage. Default is false.
allowPng?: boolean;
Property Value
boolean
Remarks
encoding
Specifies the document encoding (code page or character set) to be used by the web browser when viewing the saved document.
encoding?: boolean;
Property Value
boolean
Remarks
folderSuffix
Gets the folder suffix used when saving a document as a webpage with long file names and supporting files in a separate folder.
folderSuffix?: boolean;
Property Value
boolean
Remarks
organizeInFolder
Specifies whether supporting files are organized in a separate folder when saving the document as a webpage. Default is true.
organizeInFolder?: boolean;
Property Value
boolean
Remarks
pixelsPerInch
Specifies the density (pixels per inch) of graphics images and table cells on a webpage.
pixelsPerInch?: boolean;
Property Value
boolean
Remarks
relyOnCSS
Specifies whether cascading style sheets (CSS) are used for font formatting when viewing a saved document in a web browser. Default is true.
relyOnCSS?: boolean;
Property Value
boolean
Remarks
relyOnVectorMarkupLanguage
Specifies whether image files are not generated from drawing objects when saving a document as a webpage. Default is false.
relyOnVectorMarkupLanguage?: boolean;
Property Value
boolean
Remarks
screenSize
Specifies the ideal minimum screen size (width by height, in pixels) for viewing the saved document in a web browser.
screenSize?: boolean;
Property Value
boolean
Remarks
targetBrowser
Specifies the target browser for documents viewed in a web browser.
targetBrowser?: boolean;
Property Value
boolean
Remarks
useLongFileNames
Specifies whether long file names are used when saving the document as a webpage. Default is true.
useLongFileNames?: boolean;
Property Value
boolean
Remarks
Office Add-ins
Feedback
Was this page helpful?
