We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string_width
RTFText
We will need to calculate the string width based on information in the RTFText object.
text = RTFText("abc") text.__dict__
teststr [1] "title" attr(,"text_font") [1] 1 attr(,"text_font_size") [1] 12 attr(,"text_justification") [1] "c" attr(,"text_space") [1] 1 attr(,"text_space_before") [1] 180 attr(,"text_space_after") [1] 180 attr(,"text_indent_first") [1] 0 attr(,"text_indent_left") [1] 0 attr(,"text_indent_right") [1] 0 attr(,"text_new_page") [1] FALSE attr(,"text_hyphenation") [1] TRUE attr(,"text_convert") [1] TRUE attr(,"strwidth") [1] 0.2604167 attr(,"use_color") [1] FALSE attr(,"class") [1] "character" "rtf_text"
The text was updated successfully, but these errors were encountered:
elong0527
No branches or pull requests
We will need to calculate the string width based on information in the
RTFText
object.Current code
Example in R for a text string with all attributes.
The text was updated successfully, but these errors were encountered: