CPDFTextAttribute This class is used to represent text attributes, including color, font name, font size, bold and italic, etc.
CPDFFreeTextAnnotation
The color of the text in hex format (e.g., '#FF0000' for red).
The font family name (e.g., 'Arial', 'Times New Roman').
The font style name (e.g., 'Bold', 'Italic').
The size of the font in points.
CPDFTextAttribute This class is used to represent text attributes, including color, font name, font size, bold and italic, etc.
See
CPDFFreeTextAnnotation