| Preview DWG files using the DWGThumbnail |
|
|
|
| Tutorials | |||
|
It is possible to preview a drawing from within a form. To do so you first have to add the AutoCad DwgThumbnail Control Module. You can do this by right clicking the toolbox and click Component.
'Select Components' This will display the components list. Scroll down to the AutoCad DWgThumbnail Control and check it.
'Components Window' Now a new button is added to the toolbox. Select this button to create a DwgThumbnail control.
'New DWGThumbnail button' To test it create a Form containing a button called Button1 and a DwgThumbnail Control called DWGthumbnail1. Add the following code to the form and test it.
Show/Hidden vbnet code The results should look like this:
'The Result'
|







Comments
Thanks
DwgFileName = DwgPath here help me please
please help
RSS feed for comments to this post