Class BlinkCommandLineArguments
Represents a collection of the Blink command line arguments.
Inheritance
Namespace: Syncfusion.HtmlConverter
Assembly: Syncfusion.HtmlConverter.Base.dll
Syntax
public class BlinkCommandLineArguments : List<string>
Examples
Initialize HTML converter HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter(HtmlRenderingEngine.Blink); //Initialize Blink converter settings BlinkConverterSettings BlinkSettings = new BlinkConverterSettings(); //Assign the Blink path BlinkSettings.BlinkPath = @"/BlinkBinaries/"; //Initialize the Command Line Arguments BlinkCommandLineArguments commandLineArguments = new BlinkCommandLineArguments(); commandLineArguments.Add("--no-proxy-server"); BlinkSettings.CommandLineArguments = commandLineArguments; //Assign the Blink settings htmlConverter.ConverterSettings = BlinkSettings; //Convert url to pdf PdfDocument document = htmlConverter.Convert("https://www.google.com"); //Save the output PDF document MemoryStream stream = new MemoryStream(); document.Save(stream);
Constructors
BlinkCommandLineArguments()
Declaration
public BlinkCommandLineArguments()