Message-ID: <2082838526.9505.1711692450670.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9504_2043983534.1711692450670" ------=_Part_9504_2043983534.1711692450670 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
public sealed class WordViewSettings=20
Public NotInheritable Class WordViewSettings=20
You cannot create a new WordViewSettings object. You must = use the Document.ViewSettings property to retrieve WordV= iewSettings properties for a document.
=20The following sample gets the WordViewSettings
object of a =
document.
WordApplication app =3D new WordApplication(); Document doc =3D app.Open(@"C:\sample.doc"); WordViewSettings viewSettings =3D doc.ViewSettings; |
Dim app As New WordApplication() Dim doc As Document =3D app.Open("C:\sample.doc") Dim viewSettings As WordViewSettings =3D doc.ViewSettings |
Name |
Description |
---|---|
Sets or returns an int object that =
represents the number of heading levels that will be displayed by Word in t=
he outline view for this document. This can be set to a number between 1 an=
d 9. |
|
Sets or returns a boolean that repr=
esents whether Word will display field results (true) or just the field tex=
t itself (false) in a document. For example, when set to true you will see =
the full contents of a mergefield instead of just the text value inside it.=
|
|
Sets or returns a boolean that repr=
esents whether or not Word will display hidden contents in a document. When=
set to true, Word displays text formatted as hidden with a dotted underlin=
e. When you print hidden text, the dotted underline does not appear. |
|
Sets or returns a WordViewSettings.ViewType object that represents = the type of view this document will be displayed in when opened by Word. Po= ssible values: Normal, Outline, Page. | |
Sets or returns a boolean that repr=
esents whether or not Word will display an envelope overlay with this docum=
ent (if there is one). |
|
Sets or returns a boolean that repr=
esents whether or not Word will display the footer inside the page border f=
or a document. |
|
Sets or returns a boolean that repr=
esents whether or not Word will display the header inside the page border f=
or a document. |
|
Sets or returns a boolean that repr=
esents whether or not Word will shade form fields in a document. |
|
Sets or returns a WordViewSettings.ZoomType object that represents = the zoom type the document will be displayed with when opened by Word. Poss= ible values: None, FullPage, PageWidth). | |
Sets or returns an int that represe=
nts the zoom percentage this document will be displayed with when opened by=
Word. Possible values: Normal, Outline, Page. |