lib/ezpdf/classes/class.ezpdf.php
function ezSetCmMargins( $top, $bottom, $left, $right )
    {
        $top = ( $top / 2.54 ) * 72;
        $bottom = ( $bottom / 2.54 ) * 72;
        $left = ( $left / 2.54 ) * 72;
        $right = ( $right / 2.54 ) * 72;
        $this->ezSetMargins( $top, $bottom, $left, $right );
    }
function ezSetCmMargins( $top, $bottom, $left, $right )
    {
        $top = ( $top / 2.54 ) * 72;
        $bottom = ( $bottom / 2.54 ) * 72;
        $left = ( $left / 2.54 ) * 72;
        $right = ( $right / 2.54 ) * 72;
        $this->ezSetMargins( $top, $bottom, $left, $right );
    }
function ezSetCmMargins ( $ top , $ bottom , $ left , $ right ) { $ top = ( $ top / 2.54 ) * 72 ; $ bottom = ( $ bottom / 2.54 ) * 72 ; $ left = ( $ left / 2.54 ) * 72 ; $ right = ( $ right / 2.54 ) * 72 ; $ this -> ezSetMargins ( $ top , $ bottom , $ left , $ right ) ; }
Set Margins in centimeters
Set Margins in centimeters