Document Solutions for PDF
GrapeCity.Documents.Html / GrapeCity.Documents.Html Namespace / GcHtmlRenderer Class
Fields Properties Methods

In This Topic
    GcHtmlRenderer Class Members
    In This Topic

    The following tables list the members exposed by GcHtmlRenderer.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Gets the last log message from the headless Chromium shell.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a whitelist to passthrough Windows authentication for the specified domains.

    For example: "*example.com,*foobar.com,*baz".

     
    Public Propertystatic (Shared in Visual Basic)Gets or sets the destination folder for the Chromium downloads.

    If this property is not set, the downloads are stored to [root]/.local-chromium, where [root] is where the project binaries are located.

     
    Public PropertyGets a value indicating whether the GcHtmlRenderer has been disposed of.  
    Public Propertystatic (Shared in Visual Basic)Gets a value indicating if GcHtmlRenderer is available on the current platform.  
    Public Propertystatic (Shared in Visual Basic)Gets or sets the optional path to Chrome, Edge, or Chromium executable to run.  
    Public PropertyGets or sets a proxy server, overrides system settings. Affects HTTP and HTTPS requests only.

    For example: "https://proxy-ip:proxy-port" or "socks5://127.0.0.1:1080".

     
    Public PropertyGets or sets the number of milliseconds to wait before deeming the page to be ready.

    Setting this property to a value greater than 0, activates PageOptions.LoadLazyImages mode.

     
    Public Propertystatic (Shared in Visual Basic)Gets or sets the maximum navigation time, in milliseconds.

    Defaults to 180000 ms.

     
    Public Propertystatic (Shared in Visual Basic)Gets or sets the optional factory for System.Net.WebSockets.WebSocket implementations.

    For more information, see comments to LaunchOptions.WebSocketFactory.

     
    Top
    Public Methods
     NameDescription
    Public MethodApplies a GcImaging license key to use by the current instance of GcHtmlRenderer.

    Up to five images can be created without a license.

     
    Public MethodApplies a GcPdf license key to use by the current instance of GcHtmlRenderer.

    Up to five PDFs can be created without a license.

     
    Public MethodClean up any resources being used.  
    Public MethodRenders the source HTML to an existing GrapeCity.Documents.Imaging.GcBitmap.  
    Public MethodOverloaded. Creates a JPEG image from the source HTML and saves it to a specified stream.  
    Public MethodOverloaded. Creates a PDF document from the source HTML and saves it to a specified stream.  
    Public MethodOverloaded. Creates a PNG image from the source HTML and saves it to a specified stream.  
    Public Methodstatic (Shared in Visual Basic)Sets a GcImaging license key to use by all instances of GcHtmlRenderer.

    Up to five images can be created without a license.

     
    Public Methodstatic (Shared in Visual Basic)Sets a GcPdf license key to use by all instances of GcHtmlRenderer.

    Up to five PDFs can be created without a license.

     
    Top
    See Also