Eyeshot 10 WinForms API Reference
WriteWebGL Constructor(IList<Entity>,IEnumerable<Layer>,IDictionary<String,Block>,IDictionary<String,Material>,Material,Stream,Boolean,Nullable<Color>,String)

WinForms Assembly > devDept.Eyeshot.Translators Namespace > WriteWebGL Class > WriteWebGL Constructor : WriteWebGL Constructor(IList<Entity>,IEnumerable<Layer>,IDictionary<String,Block>,IDictionary<String,Material>,Material,Stream,Boolean,Nullable<Color>,String)
The entity list.
The layer list.
The block dictionary.
The material dictionary.
The default material.
The file stream.
When true, only selected entities at root level are written.
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.
Standard constructor with stream.
Syntax
'Declaration
 
Public Function New( _
   ByVal entList As IList(Of Entity), _
   ByVal layerList As IEnumerable(Of Layer), _
   ByVal blockDict As IDictionary(Of String,Block), _
   ByVal matDict As IDictionary(Of String,Material), _
   ByVal defaultMaterial As Material, _
   ByVal stream As Stream, _
   Optional ByVal selectedOnly As Boolean, _
   Optional ByVal htmlBodyColor As Nullable(Of Color), _
   Optional ByVal htmlTemplate As String _
)

Parameters

entList
The entity list.
layerList
The layer list.
blockDict
The block dictionary.
matDict
The material dictionary.
defaultMaterial
The default material.
stream
The file stream.
selectedOnly
When true, only selected entities at root level are written.
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 htmlBodyColor will add the bgcolor attribute but it may not work when you use a custom htmlTemplate.The closing of the stream is delegated to you.
Example
... ...
See Also

Reference

WriteWebGL Class
WriteWebGL Members
Overload List