Skip to main content

GetSelectedContent

Returns the selected content in the specified format.

Syntax​

expression.GetSelectedContent(prop);

expression - A variable that represents an 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