Skip to content

Commit

Permalink
Added setter method for PDF paper size
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Sep 17, 2023
1 parent a97ee2d commit e20e2d3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/ZugferdVisualizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function setPdfFontDirectory(string $fontDirectory): void
}

/**
* Sets the PDF default font
* Sets the default PDF default font
*
* @param string $pdfFontDefault
* @return void
Expand All @@ -147,6 +147,17 @@ public function setPdfFontDefault(string $pdfFontDefault): void
$this->pdfFontDefault = $pdfFontDefault;
}

/**
* Set the default PDF paper size
*
* @param string $paperSize
* @return void
*/
public function setPdfPaperSize(string $paperSize): void
{
$this->pdfPaperSize = $paperSize;
}

/**
* Renders the markup (HTML)
*
Expand Down

0 comments on commit e20e2d3

Please sign in to comment.