Skip to main content

Select

Selects the current content control.

Syntax

expression.Select();

expression - A variable that represents a ApiInlineLvlSdt class.

Parameters

This method doesn't have any parameters.

Returns

boolean

Example

This example shows how to create an inline content control and select it.

let doc = Api.GetDocument();
let checkbox = doc.AddCheckBoxContentControl();
checkbox.Select();