Saves the current view of the rendered model as an image to the specified file location, name, and format.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RenderToFile( _
ByVal ImageFileName As String, _
ByVal Width As Integer, _
ByVal Height As Integer _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IRayTraceRenderer
Dim ImageFileName As String
Dim Width As Integer
Dim Height As Integer
Dim value As Boolean
value = instance.RenderToFile(ImageFileName, Width, Height)
|
Parameters
- ImageFileName
- File location, name, and format extension to which to save the current view of the rendered model (see Remarks)
- Width
- Width of image in pixels (see Remarks)
- Height
- Height of image in pixels (see Remarks)
Return Value
True if the current view of the rendered model is saved, false if not
Example
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0