Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Export Multiple Margin Settings #1078

Closed
ramious76 opened this issue Nov 14, 2017 · 1 comment
Closed

PDF Export Multiple Margin Settings #1078

ramious76 opened this issue Nov 14, 2017 · 1 comment

Comments

@ramious76
Copy link

I'm submitting a...

  • Documentation issue or request

Current behavior

Any attempt to assign more than one margin setting leaves no margins .

Expected behavior

To be able to give different margins for headers and footers (top and bottom) than that of the side margins to give a professional look

Minimal reproduction of the problem with instructions

Tried multiple different ways to set multiple margins in the margin setting for pdf export
In plunker is a direct way
Attempted a var in TypeScript as var margin = { ...settings...}

Plunker:
http://plnkr.co/edit/XBfcEkXUkpFbfcHftWqR?p=preview

What is the motivation or use case for changing the behavior?

With a longer footer for a privacy statement required by law this takes up a bit of the page and with out the ability to set a custom footer this leaves the page looking very shrunk.

Environment

Package versions:
As provided by Kendo multi-page automatic example at https://www.telerik.com/kendo-angular-ui/components/pdfexport/multi-page-content/

Browser:

IE 11.1532.14393.0
Edge 38.14393.1066.0
Firefox 56.0.2 (x64)

System:
Not necessary

@danielkaradachki
Copy link
Contributor

You should bind the property in order to correctly set its value:
http://plnkr.co/edit/HvL1kdiULjhfQPOcwqbe?p=preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants