Skip to main content

SetColor

Sets the text color to the current paragraph.

Syntax​

expression.SetColor(color);

expression - A variable that represents an ApiParagraph class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
colorRequiredApiColor | nullThe text color. Pass null to remove the text color.

Returns​

ApiParagraph