Control rich text content with precision using the Lotus C API

  • Version
  • Download 0
  • File Size 522.64 KB
  • File Count 1
  • Create Date May 6, 2020
  • Last Updated May 6, 2020

Control rich text content with precision using the Lotus C API

Have you ever wanted to programmatically access or change some information within a rich text item, such as adding formatted text or links, or
changing an image? LotusScript, Domino Extensible Language (DXL), and other languages don’t provide the Lotus C API’s extensive rich text manipulation capabilities. For example, LotusScript allows you to append text using the NotesRichTextItem.AppendText function, but it doesn’t carry over new formatting for text it’s appending to an existing rich text item.

The C API doesn't have these limitations. The C API gives application developers access to every part of a rich text item, including Hide When
formulas, the parts of an image navigator, embedded elements — everything. Domino programmers who unlock rich text with the C API gain the
ability to precisely specify changes. This article is the second in a two-part series that equips intermediate Notes developers with the knowledge and
techniques they need to start manipulating rich text items via the Lotus C API.

    Leave a comment