I have recently updated by aspose.pdf from 3.x to 4.1.1. As a result a lot of the margins where affected, which i have now corrected. The issue i currently have is for IsHtmlTagSupported text. For some reason i'm getting '#$NL' before every paragraph (see pdf attached).
The string below is the html:
string sDesc = "
Helping you serve your communities and your customers
At Foley Hoag, our Banking lawyers have a great appreciation for the broad spectrum of issues confronting banks, as you deal with rapidly
changing competitive, technological and economic environments. We understand the role banks must play in the community, the needs they
attempt to serve, and the special difficulties they face in competing in today's increasingly competitive marketplace.
We have represented both acquirers and targets in negotiating and obtaining shareholder and regulatory approval of bank merger and
acquisition transactions. Clients rely on us to devise novel strategies for ensuring the success of an acquisition.
We regularly prepare bank and holding company securities disclosure documents, securities offering circulars and prospectuses, and
proxy materials. For our banking clients, our lawyers have obtained settlement of claims for reimbursement of losses under blanket bonds, and
have handled complex securities and lender liability litigation. We have formed mutual holding companies for our mutual bank clients; formed,
and dissolved, bank holding companies; converted banks from mutual to stock form; and helped purchase and sell branch offices and other
In addition, we regularly advise our clients on a multitude of regulatory issues, including the Community Reinvestment Act, Truth in
Lending, and recent fair-lending initiatives.
Foley Hoag’s Banking lawyers have acted as general and special regulatory and acquisitions counsel for New England-based community
banks, both state-chartered and federally chartered. We have also represented a number of money-center banks in specialized areas.
Board of Governors of the Federal Reserve System
Federal Reserve Bank of Boston
Office of Thrift Supervision
Office of the Comptroller of the Currency
Massachusetts Division of Banks
Federal Deposit Insurance Corporation
Here is the code to populate the PDF:
Pdf pdf1 = new Pdf();
Section sec1 = pdf1.Sections.Add();
Text titleText = new Text(sDesc, style);
titleText.IsHtmlTagSupported = true;
pdf1.Save(pdfTitle, SaveType.OpenInAcrobat, response);