UniverComment

Univer Thread Comment component’s data

public class UniverComment

Remarks

Lorem ipsum…

Properties

Property Type Description
unitId string Workbook Id
subUnitId string Worksheet Id
threadId string Thread Id
dT string DateTime (as string) when the comment was created
personId string User’s Id that create the commment
reference string Location in cell in A1 notation
text URichTextValue Comment’s content

Constructors

public UniverComment()

Univer Thread Comment component’s data


Methods

SetText

public void SetText(string text)

Sets a plain text in the comment

Parameters
Parameter Type Description
text string Sets a plain text in the comment

SetDateTime

public void SetDateTime(DateTime? dt = null)

Sets the DateTime for the comment

Parameters
Parameter Type Description
dt DateTime? Date for the comment (leave null if the Date is Now)