\Kendo\UI\GridPdfMargin

A PHP class representing the margin setting of GridPdf.

Methods

bottom

The bottom margin. Numbers are considered as "pt" units.

Returns

\Kendo\UI\GridPdfMargin

Parameters

$value float |string

Example - using float

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

Example - using string

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

left

The left margin. Numbers are considered as "pt" units.

Returns

\Kendo\UI\GridPdfMargin

Parameters

$value float |string

Example - using float

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

Example - using string

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

right

The right margin. Numbers are considered as "pt" units.

Returns

\Kendo\UI\GridPdfMargin

Parameters

$value float |string

Example - using float

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

Example - using string

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

top

The top margin. Numbers are considered as "pt" units.

Returns

\Kendo\UI\GridPdfMargin

Parameters

$value float |string

Example - using float

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

Example - using string

<?php
$margin = new \Kendo\UI\GridPdfMargin();
$margin->top('value');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy