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


the software that grows with you

 

V32WordPara()

Builds an array of paragraphs to be submitted to V32Word() function.

Syntax

V32WordPara( <aPara>, <cObject>, <cFont>, <nFontSize>, <nFontColor>, <lWrap>, <cObjType>, <cAlign>, <lBold>, <lItalic>, <lUnderLine>, <cOrient> )

Arguments

aPara A pointer to an array whose size will be increased by another array of the other parameters. Initialy this array will always be initialized as : aArray := {} and then subsequent calls to this function with first parameter as itself will add rows of another array thus making it two dimentional. This strategy is adopted because of the multithreading capabilities of XBase++ to ensure that each thread will be using its own local variables.
cObject Character string representing the matter pertaining to current paragraph. Its interpretation is associated with <cObjType>, see below. Note that <cObjType> G ( Graphs ) and D ( Database ) are not available currently. If <cObjType> == Table then cObject will be a two dimentional array of values which will be posted at the current paragraph location. A table will be drawn with equal columns matching the elements in the first element of <cObject> and elements contents will be put in the. Numeric values will be aligned to right and charcter to the left.

If <cObjType> will be Picture, Word will attempt to load the <cObject>.BMP from the disk and will place that picture with <cAlign> parameter observed.

cFont A stribg to represent a valid Windows font name used to write the paragraph.
nFontSize Numeric size of the font in use. Possible values may range from 6 through 72.
nFontColor Numeric index of color to be used by the current font. Default is 0, means "Auto". The possible values can be one of the following:
Black 1 Blue  2
Turquise 3 Bright Green 4
Pink 5 Red 6
Yellow 7 White 8
Dark Blue 9 Teal 10
Green 11 Violet 12
Dark Red 13 Dark Yellow 14
Gray 50 15 Gray 25 16
lWrap Logical to switch on or off the word-wrap mode fore current paragraph. Default is TRUE.
cObjType One of the following values
X Text Only
F Text File on Disk
P Picture ( Bmp )
T Table
G Graph
B Page Break
D Database
cAlign One of the following values:
C - Center L - Left ( Default ) R - Right
lBold Logical to set the Bold proerty of <cFont>. Default is FALSE.
lItalic Logical to set the Italicised proerty of <cFont>. Default is FALSE.
lUnderline Logical to set the Underlined proerty of <cFont>. Default is FALSE.
cOrient Determines the orientation of the paragraph. One of the following values:
P - Portrait ( Default )  L - Landscape

Returns

NIL

Description

 

Usage

See V32Word() for details.

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