Click or drag to resize

RenderWindowAddWireframeChannel Method

A wireframe channel will not be added if none of the document properties settings indicate that one is needed. In other words, Rhino will not generate an empty wireframe channel just for the fun of it.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool AddWireframeChannel(
	RhinoDoc doc,
	ViewportInfo viewport,
	Size size,
	Rectangle region
)

Parameters

doc
Type: RhinoRhinoDoc
The document to display
viewport
Type: Rhino.DocObjectsViewportInfo
The view to display
size
Type: System.DrawingSize
The size of the image without clipping (ie - if you have a region, it was the size of the image before you cut the region out.
region
Type: System.DrawingRectangle
The area of the rendering you want to display. This should match the size of the render window itself (ie - the one set using SetSize)

Return Value

Type: Boolean
Returns true if the wireframe channel was successfully added.
Version Information

Rhino for Windows

Supported in: 6.2
See Also