Created
February 4, 2014 14:13
-
-
Save jbogard/8804333 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void Close() | |
{ | |
var converter = new PdfConverter | |
{ | |
MediaType = "print", | |
}; | |
converter.PdfDocumentOptions.LiveUrlsEnabled = false; | |
_memStream.Position = 0; | |
converter.SavePdfFromHtmlStreamToStream(_memStream, Encoding.UTF8, _baseUrl, _oldFilter); | |
_oldFilter.Close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment