TextFrameSetMarkerLines

Description

Sets whether or not marker lines are visible for the text frame. Marker lines show a text frame's border if the text frame has no border line. A text frame's border line can be set with the TextFrameSetBorderWidth function.

Applies to

RichTextEdit control

Syntax

boolean rtename.TextFrameSetMarkerLines(integer textFrameID, boolean markerLines)

Argument

Description

textFrameID

The unique ID that identifies the text frame.

markerLines

Specifies whether the marker lines are visible.

  • True (Default) -- The marker lines are visible.

  • False -- The marker lines are invisible.


Return value

Boolean.

Returns true if it succeeds and returns false if it fails. Returns null if any argument is null.

Examples

The following example sets the marker lines as invisible in the specified text frame.

boolean lb_rtn
integer li_frameid

li_frameid = rte_1.TextFrameInsertAsChar(-1,5000,1000)
rte_1.TextFrameSetBorderWidth(li_frameid,0)
lb_rtn = rte_1.TextFrameSetMarkerLines(false)