SetText Method
Declaration Description Parameters Method Result See Also Example

<< Click to Display Table of Contents >>

Navigation:  Additional Resources > OLE/COM Automation > Methods > Edit >

SetText Method
Declaration Description Parameters Method Result See Also Example

Previous pageReturn to chapter overviewNext page

 

Section

Declaration

 

procedure SetText(

const Name, FontName: WideString;

FontSize: Integer;

FontColor : OLE_COLOR;

const FontStyle: WideString;

Border: Integer;

const Text: WideString

);

Section

Description

Sets the Text and Text Style for the specified Text Device

Section

Parameters

 

Parameter

Usage

Name

Text Device name

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.

Section

Method Result

None.

Section

Example

PowaMasterObj.SetText( Name, FontName, FontSize, FontColor, FontStyle, Border, Text);

Section

See Also

GetText

Section