|
|
Document Settings
Essential DocIO exposes several APIs to let you set the Document properties for the newly created documents or read the document properties of existing documents.
|
|
|
|
Both the standard and custom properties of the document can be viewed and modified, using Essential DocIO.
Sample source code
Standard Properties viewed through MS Word
|
|
|
|
The Page setup properties that can be modified have been given below:
-
Margins - Empty spaces along the page sides can be specified.
Sample Code
Margins in DocIO Document
-
Orientation - can be set to Potrait or Landscape.
Sample Code
Portrait Orientation
Landscape Orientation
-
Header and Footer Distance - can be modified.
Sample Code
Header and Footer in a DocIO Document
-
Page Alignment - The word document page can be aligned to the Top, Middle, Justified or Bottom as needed.
Sample Code
Bottom Justified Page Alignment
-
Page Layout - The page borders and page size can be altered as needed, an example of which is illustrated below:
Sample Code
Document Page Setup
|
|
|
|
|
|
|