Skip to content

Return false when add marginTop() in HtmlToPdf #54

@alohadance98

Description

@alohadance98

Hi,
I want to add margin to PDF file but it's always return false, here is my code
boolean success = HtmlToPdf.create().marginTop("15px").object(HtmlToPdfObject.forHtml(content)).convert(pdfFilePath);
Everything is normal if i remove marginTop()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions