Pdfmake: Fixed Column Height

Created on 19 Mar 2017  路  2Comments  路  Source: bpampuch/pdfmake

Hi,

I want to add text to a column and i would like that column to have a fixed height and width. I've managed to add a fixed width but i'm unable to add a fixed height.

Here's my code:

{
    columns:
    [
        {
            width: 200,
            height: 300, //doesn't work...
            text: someText
        }
    ],
    absolutePosition:
    {
        x: 150,
        y: 75
    }
},

How can i accomplish this?

All 2 comments

Column has height required by the text. Smaller height would mean not displaying text.

Please reopen this issue. Allowing the user to set a fixed column height is a feature. If the user sets the height too small, resulting in text being cut, its his/hers problem. I would really see this feature realized!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

svenyonson picture svenyonson  路  3Comments

einfallstoll picture einfallstoll  路  3Comments

Christian24 picture Christian24  路  3Comments

Masber picture Masber  路  3Comments

imoum007 picture imoum007  路  3Comments