Apply settings for all content controls in document

Modified on Mon, 5 Oct at 1:54 PM

We support the ability to set content control settings for all content controls in the active Word document.

CMD

<Cmd case="BaseExtensions:apply-cc-settings"/>

Parameters

showAs

Define how the content controls should be shown in the document. This parameter is an enumerable and has three types to choose from, which are case sensitive. We support the following types:

0 = BoundingBox

1 = Tags

2 = None

Notice that it is possible to define both the integer and the enum value.

color

Define the color of the content controls, meaning the bounding box or tag and not the text. This should be defined as an RGB with "," as separator, e.g. color="255,0,0".

removeWhenEdited

Define whether the content controls should be temporary using true or false.

lockContentControl

Define whether the content controls should be locked using true or false. Note that this cannot be true if the removeWhenEdited parameter is true.

lockContents

Define whether the content of the content controls should be locked using true or false.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article