\Kendo\UI\SpreadsheetPdfMargin
A PHP class representing the margin setting of SpreadsheetPdf.
Methods
bottom
The bottom margin. Numbers are considered as pt units.
Returns
\Kendo\UI\SpreadsheetPdfMargin
Parameters
$value float|string
Example - using float
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->bottom(1);
?>
Example - using string
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->bottom('value');
?>
left
The left margin. Numbers are considered as pt units.
Returns
\Kendo\UI\SpreadsheetPdfMargin
Parameters
$value float|string
Example - using float
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->left(1);
?>
Example - using string
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->left('value');
?>
right
The right margin. Numbers are considered as pt units.
Returns
\Kendo\UI\SpreadsheetPdfMargin
Parameters
$value float|string
Example - using float
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->right(1);
?>
Example - using string
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->right('value');
?>
top
The top margin. Numbers are considered as pt units.
Returns
\Kendo\UI\SpreadsheetPdfMargin
Parameters
$value float|string
Example - using float
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->top(1);
?>
Example - using string
<?php
$margin = new \Kendo\UI\SpreadsheetPdfMargin();
$margin->top('value');
?>