MY ACCOUNT  |  LOGIN

Sales: 1-888-936-8638

ORDER ONLINE >

 

  


  Windows Forms
      Products
   Essential PDF
   Essential XlsIO
   Essential DocIO
   Essential Calculate
   Essential Grouping
    Version History
    Free Trial
    Order Online
    What's New
    Development Build
    Roadmap




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.

Document Properties Page Setup
Document Variables

Document Properties

Both the standard and custom properties of the document can be viewed and modified, using Essential DocIO.

Standard Document Properties

Sample source code

Built-in Document Properties

Standard Properties viewed through MS Word

Page Setup

The Page setup properties that can be modified have been given below:

  • Margins - Empty spaces along the page sides can be specified.

Margins in DocIO Document

Sample Code

Margins in DocIO Document

Margins in DocIO Document

  • Orientation - can be set to Potrait or Landscape.

Margins in DocIO Document

Sample Code

Portrait Orientation

Portrait Orientation

Landscape Orientation

Landscape Orientation

  • Header and Footer Distance - can be modified.

Margins in DocIO Document

Sample Code

Header and Footer in a DocIO Document

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.

Margins in DocIO Document

Sample Code

Bottom Justified Page Alignment

Bottom Justified Page Alignment

  • Page Layout - The page borders and page size can be altered as needed, an example of which is illustrated below:

Margins in DocIO Document

Sample Code

Document Page Setup

Document Page Setup

Document Variables

DocIO provides support for creating and retrieving document variables in a word document. These Document variables are invisible fields that are used by programmer to store information for future use.

Document Variables

Code to add / modify document variables

Document Variables

Document containing variables

© 2001-2009 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap  |