\Kendo\UI\TreeListPdfMargin

A PHP class representing the margin setting of TreeListPdf.

Methods

bottom

The bottom margin. Numbers are considered as pt units.

Returns

\Kendo\UI\TreeListPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->bottom(1);
?>

Example - using string

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->bottom('value');
?>

left

The left margin. Numbers are considered as pt units.

Returns

\Kendo\UI\TreeListPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->left(1);
?>

Example - using string

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->left('value');
?>

The right margin. Numbers are considered as pt units.

Returns

\Kendo\UI\TreeListPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->right(1);
?>

Example - using string

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->right('value');
?>

top

The top margin. Numbers are considered as pt units.

Returns

\Kendo\UI\TreeListPdfMargin

Parameters

$value float|string

Example - using float

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->top(1);
?>

Example - using string

<?php
$margin = new \Kendo\UI\TreeListPdfMargin();
$margin->top('value');
?>
In this article
Not finding the help you need?