:::: MENU ::::
Monthly Archives: February 2016

Create Transparent animated start using winform

Sometime we want to create a irregular shape from winform which is rectangle or square by default.
So i am telling you here how can you convert a Form into animated Start. you can see the output at bottom.Every winform object holds TransparencyKey  property which is used to make any color transparent on the form.So if i set the transparency Key to white Color at same time set the back ground color of the form to white then whole form will disappear. Now if i draw star on the form using blue color then i will see only the blue start on the form.
lets try the below code to see it in action.

here is the output.

start a

Please follow and like us:

convert html to pdf using c# asp.net and wkhtmlToPdf

wkhtmlToPdf is a console application which converts any given html or webpage url into PDF.
here i am going to convert a webpage or html code into PDF.in the below class i have overloaded function “Convert” which takes HtmlCode or Uri with wkhtmlToPdf executable path.

You can download a complete working solution here. Fyi, The repository contains WkhtmlPdf Console application as well.

 

Please follow and like us: