假设将网页转换为pdf

时间:2019-01-08 11:33:39

标签: c# aspose

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

enter image description here

我的代码是

    <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>

1 个答案:

答案 0 :(得分:0)

我确定是由min-height:30px引起的问题的根源,而我通过设置min-height: initial !important;覆盖了此属性,从而解决了该问题