TCPDF::GetCharWidth( $char,  $notlast = true )

Returns the length of the char in user unit for the current font considering current stretching and spacing (tracking).


Description Description


Parameters Parameters

$char

(Required) (int) The char code whose length is to be returned

$notlast

(Optional) (boolean) If false ignore the font-spacing.

Default value: true


Top ↑

Return Return

(float) char width


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.