Skip to main content
Table of Contents

TTMSFNCPDFRichTextLibAttributeValue Record

Holds the complete set of rich-text attribute values applied to a character range, including paragraph style, colors, font, decoration, and embedded content.

API unit family: TMSFNCPDFRichTextLib

Syntax

GeneratedPascalC++
TTMSFNCPDFRichTextLibAttributeValue = record
struct DECLSPEC_DRECORD TTMSFNCPDFRichTextLibAttributeValue

Fields and properties

Name Type Description
ApplyBold Boolean When True, Bold is applied to the range; when False, the inherited weight is kept.
ApplyFontName Boolean When True, FontName and FontFamily are applied to the range; when False, the inherited font is kept.
ApplyFontSize Boolean When True, FontSize is applied to the range; when False, the inherited size is kept.
ApplyItalic Boolean When True, Italic is applied to the range; when False, the inherited slant is kept.
BackgroundColor TTMSFNCGraphicsColor Color drawn behind the characters.
BaselineOffset Single Vertical offset from the baseline, in points; positive values raise the text, negative values lower it.
Bitmap TTMSFNCBitmap Image drawn in place of the range, when the range represents embedded content.
BitmapFile String Path to an image file drawn in place of the range, used when Bitmap is not assigned.
Bold Boolean Whether the range is drawn in a bold weight. Only honored when ApplyBold is True.
FontFamily String Family the font belongs to, used to resolve the face when the exact name is unavailable.
FontName String Name of the font the range is drawn with. Only honored when ApplyFontName is True.
FontSize Single Size in points the range is drawn at. Only honored when ApplyFontSize is True.
ForegroundColor TTMSFNCGraphicsColor Color the characters are drawn with.
Italic Boolean Whether the range is drawn italic. Only honored when ApplyItalic is True.
ParagraphStyle TTMSFNCPDFRichTextLibParagraphStyle Paragraph-level layout applied to the range.
Strikethrough TTMSFNCPDFRichTextLibUnderlineStyles Strikethrough decoration style applied to the range.
StrikethroughColor TTMSFNCGraphicsColor Color of the strikethrough decoration.
StrokeColor TTMSFNCGraphicsColor Color of the character outline.
StrokeWidth Single Width of the character outline, in points; 0 draws no outline.
ToolTip String Text shown when the pointer rests over the range.
URL String Target the range links to when activated.
Underline TTMSFNCPDFRichTextLibUnderlineStyles Underline decoration style applied to the range.
UnderlineColor TTMSFNCGraphicsColor Color of the underline decoration.