Aspose 将网页转换为 pdf

Aspose converting webpage to pdf

我在一个项目中使用 Aspose 将网页转换为 PDF 文档,文档的大部分似乎都显示良好 Aspose 似乎对某些文本位或跨越多行的控件有问题。我已经在互联网上搜索了看是否可以找到解决方案,有人建议升级到 18 版,所以我下载了最新的 19 版,但仍然无济于事。任何帮助或建议将不胜感激。

我的密码是

    <h4>The figures below should include your spouse or civil partner, where applicable.</h4><p>Please indicate your annual net disposable income (after all regular financial contributions):</p><div class="form-group radio-group " ><label class="col-sm-0 control-label  "></label><div class="col-sm-12"><div class="">
            <label>
                <input 
                        type="radio" 
                        name="AQAnnualNetDisposalIncome" 
                        value="Above £100,000" 
                        onclick="broadcastChange('AQAnnualNetDisposalIncome')"


                        />
                Above £100,000
            </label>
        </div><div class="">
            <label>
                <input 
                        type="radio" 
                        name="AQAnnualNetDisposalIncome" 
                        value="£50,000 - £100,000" 
                        onclick="broadcastChange('AQAnnualNetDisposalIncome')"


                        />
                £50,000 - £100,000
            </label>
        </div><div class="">
            <label>
                <input 
                        type="radio" 
                        name="AQAnnualNetDisposalIncome" 
                        value="£25,000 - £50,000" 
                        onclick="broadcastChange('AQAnnualNetDisposalIncome')"


                        />
                £25,000 - £50,000
            </label>
        </div><div class="">
            <label>
                <input 
                        type="radio" 
                        name="AQAnnualNetDisposalIncome" 
                        value="£10,000 - £25,000" 
                        onclick="broadcastChange('AQAnnualNetDisposalIncome')"


                        />
                £10,000 - £25,000
            </label>
        </div><div class="">
            <label>
                <input 
                        type="radio" 
                        name="AQAnnualNetDisposalIncome" 
                        value="£5,000 - £10,000" 
                        onclick="broadcastChange('AQAnnualNetDisposalIncome')"


                        />
                £5,000 - £10,000
            </label>
        </div><div class="">
            <label>
                <input 
                        type="radio" 
                        name="AQAnnualNetDisposalIncome" 
                        value="Less than £5,000" 
                        onclick="broadcastChange('AQAnnualNetDisposalIncome')"


                        />
                Less than £5,000
            </label>
        </div><span class="glyphicon form-control-feedback" aria-hidden="true"></span><div class="help-block with-errors">
        </div>
    </div>
</div>
<p>Please indicate the value of your assets (excluding your residence), net of any loans or other liabilities:</p>

我确定了导致问​​题的原因,它是由 min-height:30px 引起的,为了解决这个问题,我通过设置 min-height: initial !important;

覆盖了这个 属性