[ Home ] [ Features ] [ Products ] [ FAQ's ] [ Screens ] [ Support ] [ Downloads ] [ About ] [ Discussion ]


the software that grows with you

 

V32Word()

Creates a MS Word Document with the application rendered data with or without opening the Word application window.

Syntax

V32Word( <acPara>, <lBackGround>, <lQuit>, <cFileToSave>, <cFont>, <nFontSize>, <nFontColor>, <cCaption>, <lPrint>, <lPreview>, <aPageSetup>, <aEnvelop> )

Arguments

acPara Either a character string representing the name of a .DOC disk file OR an array of paras created through V32WordPara() function. If <acPara> is a disk file, then it must contain drive and path and extension specifications. If it is an array, it must adheres to the specifications laid down by V32WordPara() function.
lBackGround Logical to toggle whether Word application is forced to run in the background or the application window is make visible on the screen. Default is FALSE means Word Window will be made visible.
lQuit Logical to instruct Vouch32 to force MS Word to quit after completing the given document or let it stay on screen. Default is FALSE means MS Word continues to run until user clicks its close button.
cFileToSave A charcter string representing a valid file name with drive and path specification to save the thus created document. If this parameter is missing then at the time of closing the Word through clicking on the close button, Word will not show the "save" dialog.
cFont Windows font name to be used by MS Word as a default font. However, indivisul paras may contain different fonts. Default is 'Courier'.
cFontSize Numeric size of the default font Word will open with. It can be from 6 to 72. Default is 12.
nFontColor Numeric index of the color the font will use. Default is 0 means 'Auto'.
cCaption A character string to be dispayed in the title bar of Word window. Default is 'Document'.
lPrint Logical to instruct Word to send the document to the default printer as soon as the document is completed. Default is FALSE.
lPreview Logical to instruct Word to present a print preview of the document. Default is FALSE.
aPageSetup An array of parameter to instruct Word to adjust printer page setup. Default is empty array means Word will use the default page setup of the current printer. Structure of <aPageSetup> is as follows ( all units in inches ):
Left Margin 0
Right Margin 0
Top Margin 0
Bottom Margin 0
Gutter 0
Header Distance 0
Footer Distance 0
Page Width 0
Page Height 0
aEnvelop An array of elements contining the information necessary to print envelops. Default is empty array. The structure of <aEnvelop>  is as follows:
Array of Address Info Character array of address info, e.g., Name, Street, City, Country, Pin, etc.
Array of Return Address Info Similar as above.
Envelop Width Width of the envelop in inches
Envelop Height Height of the envelop in inches.
Address from Left Distance from left to Address text.
Address from Top Distance from top to Address's 1st line.
Return Address from Left Distance from left to Return Address
Return Address from Top Distance from top to Return Address 

Returns

NIL

Description

 

Usage

 

Tips

 

 

[ Home ][ Features ] [ Products ][ About Us ][ FAQ's ][ Screen Shots ][ Downloads ][ Support ][ Discussion ]
.

Vouch is a Trademark of Pritpal Bedi
All other Trade Marks are the property of their respective owners.
Copyright 1993-2011 Pritpal Bedi. All rights reserved.
Hit Counter  
You are Visitor # since 14 May 2002