在功能中移动图像

时间:2015-01-27 10:03:19

标签: php

enter image description here

我有以下代码,我需要移动图像,以便我的其余数据
以pdf格式显示与徽标本身不重叠

function do_print(&$focus) {

    $this->set_focus($focus);
    $this->filename = $this->create_filename();
    $this->new_page();
    $this->print_logo();  //logo print details -- need to move this so rest dont overlap it.
    if(method_exists($this->layout, 'printCompanyAddress'))
        $this->layout->printCompanyAddress($this);
    $this->print_details();
    $this->print_extra_head();
    if($this->layout_name == 'QuotePDF')
        $this->print_addresses();
    else
        $this->layout->print_addresses($this);
    $this->print_main();
    //$this->print_notes();
    $this->print_terms();
    $this->print_extra_foot();
}

1 个答案:

答案 0 :(得分:1)

查看print_details()函数。你会在那里找到y偏移。只需增加偏移量,文本就会向下推送到页面