TextFrameGetBorderWidth

Description

Returns the width of a text frame's border line in the RichTextEdit control.

Applies to

RichTextEdit control

Syntax

integer rtename.TextFrameGetBorderWidth(integer textFrameID)

Argument

Description

textFrameID

The unique ID that identifies the text frame.


Return value

Integer.

Returns the width of the text frame's border line, in twips. For almost all units of measurement in the RichTextEdit control, twips are used. Twip is a fabricated word meaning twentieth of a point (pt).

Returns -1 if it fails. Returns null if any argument is null.

Examples

The following example gets the border width color of the specified text frame.

integer li_frameid,li_rtn

li_frameid = rte_1.TextFrameInsertAsChar(-1,5000,1000)
li_rtn = rte_1.TextFrameGetBorderWidth(li_frameid)