Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Cells provides a Shape.setTextDirection() method to set the desired text direction for a comment.
The following image shows the comment with its format settings in Microsoft Excel. The output file is obtained after running the below code segment.
Comment with right-to-left text direction

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.