public function setMargins(array $setting): PdfInterface
    {
        $this->setProperty('marginTop', (int) $setting['marginTop']);
        $this->setProperty('marginRight', (int) $setting['marginRight']);
        $this->setProperty('marginBottom', (int) $setting['marginBottom']);
        $this->setProperty('marginLeft', (int) $setting['marginLeft']);
        $this->setProperty('marginHeader', (int) $setting['marginHeader']);
        $this->setProperty('marginFooter', (int) $setting['marginFooter']);

        return $this;
    }