logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
gffranca Posted: Monday, February 7, 2022 10:59:58 AM(UTC)
 
textObj.Font.BaseFontName; has too much information.

e.g.:
textObj1.Font.BaseFontName ........... "CPLORN+Arial-BoldMT"
textObj2.Font.BaseFontName ........... "CPLORN+ArialMT"


// what I need
textObj1.Font.getFamily() ............ "Arial"
textObj2.Font.getFamily() ............ "Arial"


Just need the family font from PdfTextObjects, any help?