跳到主要内容

GetSelectedContent

Returns the selected content in the specified format.

Syntax

expression.GetSelectedContent(prop);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
propRequiredobjectThe returned content properties.
prop.typeOptional"text" | "html""text"The format type of the returned content (text or HTML).

Returns

string