Displays a preview of a document to the specified window.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function PreviewDoc( _
ByRef HWnd As Integer, _
ByVal FullName As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim HWnd As Integer
Dim FullName As String
Dim value As Boolean
value = instance.PreviewDoc(HWnd, FullName)
|
Parameters
- HWnd
- Window handle where you want the preview bitmap to display; this pointer is not valid across processes; therefore, this method only works if your application is implemented as a DLL
- FullName
- Full path name of document to preview
Return Value
True if successful, false if not
Remarks
See Also