Displays a preview of a document to the specified window.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function PreviewDoc( _
ByRef HWnd As System.Integer, _
ByVal FullName As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim HWnd As System.Integer
Dim FullName As System.String
Dim value As System.Boolean
value = instance.PreviewDoc(HWnd, FullName) |
C# | |
---|
System.bool PreviewDoc(
ref System.int HWnd,
System.string FullName
) |
C++/CLI | |
---|
System.bool PreviewDoc(
& System.int% HWnd,
& System.String^ 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