SelElement.PlainText

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:16

Description

Set/get the local text of the selected frame, or all linked text that flow in the series of frames whereas belongs the selected frame.

GNML tags, if present in text, are inserted as text and not as tags.

GN4-1838. Available since build 2.0.1977.x.

Syntax

Page.SelElement().PlainText [=] strText

strText        

text, that may contain GNML tags, written as text, e.g. >bd 1< - they will be interpreted as text and not as tags.

Remarks

It is not possible edit a local text in a page open in read-only mode.

It is not possible edit a linked text already checked-out (by the same or by other users).

It is not possible edit a text without the necessary read/write permissions.

Example

If (Page.SelElement() IsNot Nothing) Then

 Page.SelElement().PlainText = ">bd1<testo>bd0<"

 'MsgBox(Page.SelElement().PlainText)

End If

Context

Page designer

See also

SelElement.Text