Function text_string

Source
pub fn text_string(text: &str) -> Object
Expand description

Creates a text string. If the input only contains ASCII characters, the string is encoded in PDFDocEncoding, otherwise in UTF-16BE.