| Article | 60002075 |
| Type | Wish |
| Product | Engine |
| Version | 6026 |
| Date Added | 11/4/2013 12:00:00 AM |
| Fixed | (11/5/2013 12:00:00 AM) |
| Submitted by | D.M. |
Summary
As of article 60001960 is it possible to export a functionality to diasable Ortho mode on Z direction ?
Solution
A new property OthoModeAxis was added to vdDocument,vdLayout,vdViewport objects. Defines the axes where the Ortho is limited on when the OrthoMode property is true. By default ortho is limited on x , y and z axis, but you can enable or disable any of the three according to your liking. If all three axes are disabled the control behaves as if OrthoMode is false. C# code doc.Model.OrthoMode = true; doc.Model.OrthoModeAxis = vdRender.OrthoModeAxisEnum.X | vdRender.OrthoModeAxisEnum.Y; OCX code Dim modelObj As VectorDraw_Professional.vdLayout Set modelObj = VDraw1.ActiveDocument.model.WrapperObject modelObj.OrthoMode = True modelObj.OrthoModeAxis = OrthoModeAxisEnum_X + OrthoModeAxisEnum_Y
