|
<< Click to Display Table of Contents >> CreateText Method
|
![]() ![]()
|
![]()
function CreateText(
X, Y: Integer;
const FontName: WideString;
FontSize: Integer;
FontColor : OLE_COLOR;
const FontStyle: WideString;
Border: Integer;
const Text: WideString
): WideString;
![]()
Creates a Text Box containing the specified Text.
![]()
Parameter |
Usage |
X |
X Co-ordinate |
Y |
Y Co-ordinate |
FontName |
Font Name used for the text |
FontSize |
Font Size used for the text |
FontColor |
Font Colour used for the text |
FontStyle |
Font Style used for the text |
Border |
1 - Text is surrounded by a Border, otherwise not |
Text |
Text in the Text box. |
![]()
Returns the Name of the created Text Box.
![]()
TextName = PowaMasterObj.CreateText( X, Y, FontName, FontSize, FontColor, FontStyle, Border, Text);
![]()
![]()