ONLYOFFICE Docs 9.3 released: enhanced PDF Editor and more signature options, multipage view for documents, Solver in sheets, GIF playback in presentation slideshow mode, AI-powered updates, and more.
const doc =Api.GetDocument(); const color =Api.AutoColor(); const paragraph = doc.GetElement(0); paragraph.AddText('This text is in auto color.'); paragraph.SetColor(color);