Requests a preview image of the specified size from the rendering engine during an ongoing asynchronous render.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub OnPreviewRequested( _
ByVal width As System.Integer, _
ByVal height As System.Integer _
) |
Visual Basic (Usage) | |
---|
Dim instance As IRenderCallbackHandler
Dim width As System.Integer
Dim height As System.Integer
instance.OnPreviewRequested(width, height) |
C# | |
---|
void OnPreviewRequested(
System.int width,
System.int height
) |
C++/CLI | |
---|
void OnPreviewRequested(
& System.int width,
& System.int height
) |
Parameters
- width
- Width in pixels of the preview image
- height
- Height in pixels of the preview image
Remarks
See Also
Availability
SOLIDWORKS Visualize Add-in API 2026 FCS