TCPDF::SetMargins( $left, $top, $right = -1, $keepmargins = false )
Defines the left, top and right margins.
Description Description
See also See also
- SetLeftMargin(),: SetTopMargin(), SetRightMargin(), SetAutoPageBreak()
Parameters Parameters
- $left
-
(Required) (float) Left margin.
- $top
-
(Required) (float) Top margin.
- $right
-
(Optional) (float) Right margin. Default value is the left one.
Default value: -1
- $keepmargins
-
(Optional) (boolean) if true overwrites the default page margins
Default value: false
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |