TCPDF::getMargins()

Returns an array containing current margins: <ul>

  • $ret[‘left’] = left margin
  • $ret[‘right’] = right margin
  • $ret[‘top’] = top margin
  • $ret[‘bottom’] = bottom margin
  • $ret[‘header’] = header margin
  • $ret[‘footer’] = footer margin
  • $ret[‘cell’] = cell padding array
  • $ret[‘padding_left’] = cell left padding
  • $ret[‘padding_top’] = cell top padding
  • $ret[‘padding_right’] = cell right padding
  • $ret[‘padding_bottom’] = cell bottom padding

  • Description Description


    Return Return

    (array) containing all margins measures


    Top ↑

    Source Source

    File: includes/lib/tcpdf/tcpdf.php

    
    			

    Top ↑

    Changelog Changelog

    Changelog
    Version Description
    3.2.000 Introduced.

    Top ↑

    User Contributed Notes User Contributed Notes

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