Display Lock Viewport
![]() 3/17/2021 3:52 AM
|
---|
Hello, I am curious if there is a way to lock a viewport after creating? The property in AutoCAD is "Display Locked" and it is defaulted to "False" when created through CadLib, I would like to set it to true. Any ideas on how to do this? Thank you! |
![]() 3/17/2021 1:09 PM
|
---|
Hi, You can set flag ViewportStatusFlags.LockViewPortZoom in property DxfViewport.StatusFlags. - Wout |
![]() 3/17/2021 1:14 PM
|
---|
This worked great! Thank you so much! |