Eyeshot 10 WinForms API Reference
WriteWebGL Constructor(ViewportLayout,Stream,Boolean,Nullable<Color>,String)

WinForms Assembly > devDept.Eyeshot.Translators Namespace > WriteWebGL Class > WriteWebGL Constructor : WriteWebGL Constructor(ViewportLayout,Stream,Boolean,Nullable<Color>,String)
The devDept.Eyeshot.ViewportLayout control.
The file stream.
If 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 viewportLayout As ViewportLayout, _
   ByVal stream As Stream, _
   Optional ByVal selectedOnly As Boolean, _
   Optional ByVal htmlBodyColor As Nullable(Of Color), _
   Optional ByVal htmlTemplate As String _
)

Parameters

viewportLayout
The devDept.Eyeshot.ViewportLayout control.
stream
The file stream.
selectedOnly
If 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