/// Returns the font size of the text contained within this [PdfPageTextObject],
/// expressed in [PdfPoints].
Returns the font size of the text contained within this [PdfPageTextObject],
expressed in [PdfPoints].
Returns the font size of the text contained within this [ PdfPageTextObject ] expressed in [ PdfPoints ] .
pub fn font_size(&self) -> PdfPoints {
        // Clippy doesn't want us to cast to c_float because c_float == f32 in the
        // development environment, but we don't want to assume that will be the case
        // on every target architecture.
        #[allow(clippy::unnecessary_cast)]
        let mut result = 0.0 as c_float;
        if self.bindings.is_true(
            self.bindings
                .FPDFTextObj_GetFontSize(self.handle, &mut result),
        ) {
            PdfPoints::new(result)
        } else {
            PdfPoints::ZERO
        }
    }
pub fn font_size ( & self ) -> PdfPoints { // Clippy doesn't want us to cast to c_float because c_float == f32 in the // development environment, but we don't want to assume that will be the case // on every target architecture. # [ allow ( clippy unnecessary_cast ) ] let mut result = 0.0 as c_float ; if self . bindings . is_true ( self . bindings . FPDFTextObj_GetFontSize ( self . handle , & mut result ) , ) { PdfPoints :: new ( result ) } else { PdfPoints :: ZERO } }
Returns the font size of the text contained within this [PdfPageTextObject],
expressed in [PdfPoints].
Returns the font size of the text contained within this [ PdfPageTextObject ] expressed in [ PdfPoints ] .
&self