TCPDF::SetMargins( $left,  $top,  $right = -1,  $keepmargins = false )

Defines the left, top and right margins.


Description Description

See also See also


Top ↑

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


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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