profile
viewpoint

rdvojmoc/DinkToPdf 622

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

rdvojmoc/react-markdown-editor-lite 1

a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器

rdvojmoc/AutoMapper 0

A convention-based object-object mapper in .NET.

rdvojmoc/Modbus.Aermec 0

Modbus MOD485K (Modaer) implementation for Aermec heat pumps on Arduino.

rdvojmoc/ModbusMaster 0

Enlighten your Arduino to be a Modbus master

rdvojmoc/react-circular-progressbar 0

A circular progress indicator

rdvojmoc/TuesPechkin 0

A .NET wrapper for the wkhtmltopdf library with an object-oriented API.

rdvojmoc/Winco.Fermentation 0

Save measurements to Losant cloud with Raspberry Pi

rdvojmoc/wkhtmltopdf 0

Convert HTML to PDF using Webkit (QtWebKit)

startedrdvojmoc/DinkToPdf

started time in a day

startedrdvojmoc/DinkToPdf

started time in a day

issue commentrdvojmoc/DinkToPdf

CSS styles are not applied through URL and Path both

Was this ever fixed?

ampan307

comment created time in 2 days

issue openedrdvojmoc/DinkToPdf

.net core web app published stylesheet doesn't work

new ObjectSettings() { WebSettings = new WebSettings() { UserStyleSheet = Path.Combine(Directory.GetCurrentDirectory(), @"ClientApp\public\stylesheet.css") } HtmlContent= str.ToString() } Local debugging this works fine. When I publish and view the pdf, the stylesheet is not implemented. The directory seems correct when I logged the directory path. Does it need to be an absolute path? I can't seem to get it to work otherwise.

The public directory is accessible, I can access this style sheet and images.

Using 64 bit libwkhtmltox.dll

created time in 2 days

startedrdvojmoc/DinkToPdf

started time in 2 days

startedrdvojmoc/DinkToPdf

started time in 2 days

startedrdvojmoc/DinkToPdf

started time in 4 days

issue commentrdvojmoc/DinkToPdf

Images are not shown

See my solution here: https://stackoverflow.com/a/46658645/495455

wgutierrezr

comment created time in 4 days

startedalyssaxuu/screenity

started time in 5 days

startedrdvojmoc/DinkToPdf

started time in 6 days

startedrdvojmoc/DinkToPdf

started time in 6 days

startedrdvojmoc/DinkToPdf

started time in 6 days

startedupptime/upptime

started time in 6 days

startedruffle-rs/ruffle

started time in 6 days

startedrdvojmoc/DinkToPdf

started time in 8 days

issue openedrdvojmoc/DinkToPdf

img and embed tags with svg extension does not load

SVG format images are not converted to PDF. Other image formats such as .png and .jpg load correctly, but .svg loads in HTML if used in a browser, but is not rendered in PDF.

Exptected result (svg and jpg are loaded): image

DinkToPdf result (only the jpg image is loaded): image

        [HttpGet]
        [Route("pdf-bug")]
        public IActionResult Bug()
        {
            var html = @"
                        <html>
                            <head></head>
                            <body>
                                <img src='https://www.flaticon.com/svg/static/icons/svg/784/784558.svg' height='30px'>
                                <img src='https://img-authors.flaticon.com/freepik.jpg' height='30px'>
                            </body>
                        </html>";

            var doc = new HtmlToPdfDocument()
            {
                GlobalSettings =
                {
                    ColorMode = ColorMode.Color,
                    Orientation = Orientation.Portrait,
                    PaperSize = PaperKind.A4,
                    DocumentTitle = "Bug"
                },
                Objects =
                {
                    new ObjectSettings()
                    {
                        HtmlContent = html
                    }
                }
            };

            byte[] file = _converter.Convert(doc);
            return File(file, "application/pdf");
        }

created time in 9 days

fork awmuell/DinkToPdf

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

fork in 10 days

fork govindakatkamwar/DinkToPdf

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

fork in 10 days

issue commentrdvojmoc/DinkToPdf

Unable to load DLL 'libwkhtmltox' or one of its dependencies

download this on server, where you try to use libwkhtmltox.dll https://support.microsoft.com/ru-ru/help/2977003/the-latest-supported-visual-c-downloads

It's worked. Thanks bro

metainilesh

comment created time in 10 days

fork awmuell/DinkToPdf

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

fork in 11 days

startedrdvojmoc/DinkToPdf

started time in 18 days

issue commentrdvojmoc/DinkToPdf

DinkToPDF is not working on Azzure

Work! Thanks for your help, you made my day.

Emptycz

comment created time in 18 days

issue closedrdvojmoc/DinkToPdf

DinkToPDF is not working on Azzure

Hi. I have developed asp.net core 3.0 app and I am converting HTML to PDF. In localhost it's all working but afer I uploaded the project on Azzure server, it does not work. I tried to switch bit version of library but nothing happened.

Project is running on Linux (Ubuntu) server. I have no clue why it is not working.

closed time in 18 days

Emptycz

issue commentrdvojmoc/DinkToPdf

DinkToPDF is not working on Azzure

Yes I actually used different NuGet package. NuGet package I used and it's working is: Haukcode.DinkToPDF. Link to NuGet package: https://www.nuget.org/packages/Haukcode.DinkToPdf/1.1.2?_src=template

Emptycz

comment created time in 18 days

issue commentrdvojmoc/DinkToPdf

DinkToPDF is not working on Azzure

Hi, did you fix this problem?

Emptycz

comment created time in 18 days

fork visudade/DinkToPdf

C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

fork in 22 days

issue commentrdvojmoc/DinkToPdf

Header/Footer Html

I can live with setting the header via HtmUrl, but is it possible to set the header height? It seems to be fixed.

snovak7

comment created time in 22 days

startedemosenkis/bevy_prototype_inline_assets

started time in 22 days

startedrdvojmoc/DinkToPdf

started time in 24 days

PublicEvent
more