WriteWebGL(Environment, Stream, Boolean, Nullable<Color>, String) Constructor
NOTE: This member is now obsolete. Use the constructor that accepts the WriteParams instead.
Public Sub New( _
ByVal environment As Environment, _
ByVal stream As Stream, _
Optional ByVal selectedOnly As Boolean = false, _
Optional ByVal htmlBodyColor As Nullable(Of Color) = null, _
Optional ByVal htmlTemplate As String = null _
)
This language is not supported or no code example is available.
Parameters
- environment
- Environment
The Environment control.
- stream
- Stream
The file stream.
- selectedOnly
- bool
If true, only selected entities at root level are written.
The Color for the HTML body. It can be null/Nothing.
- htmlTemplate
- string
A string representing the HTML template for the output. It must contain both EyeshotGeometry and EyeshotScripts html comment tags to work properly.
The _htmlBodyColor will add the bgcolor attribute but it may not work when you use a custom _htmlTemplate.
...
<!-- EyeshotGeometry -->
...