Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / WriteWebGL Class / WriteWebGL Constructor / WriteWebGL Constructor(WriteParamsWithMaterials,Material,Stream,Nullable<Color>,String)
The WriteParamsWithMaterials
The default material.
The file stream.
The System.Drawing.Color for the HTML body. It can be null/Nothing.
A string representing the HTML template for the output. It must contain both EyeshotGeometry and EyeshotScripts html comment tags to work properly.

In This Topic
    WriteWebGL Constructor(WriteParamsWithMaterials,Material,Stream,Nullable<Color>,String)
    In This Topic
    Standard constructor with document, default material and stream.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal writeParams As WriteParamsWithMaterials, _
       ByVal defaultMaterial As Material, _
       ByVal stream As Stream, _
       Optional ByVal htmlBodyColor As Nullable(Of Color), _
       Optional ByVal htmlTemplate As String _
    )

    Parameters

    writeParams
    The WriteParamsWithMaterials
    defaultMaterial
    The default material.
    stream
    The file stream.
    htmlBodyColor
    The System.Drawing.Color for the HTML body. It can be null/Nothing.
    htmlTemplate
    A string representing the HTML template for the output. It must contain both EyeshotGeometry and EyeshotScripts html comment tags to work properly.
    Remarks
    The devDept.Eyeshot.Translators.WriteWebGL._htmlBodyColor will add the bgcolor attribute but it may not work when you use a custom devDept.Eyeshot.Translators.WriteWebGL._htmlTemplate.The closing of the stream is delegated to you.
    Example
    ... ...
    See Also