02-11-2020
01:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-11-2020
01:33 AM
Thank you for the quick response.
I'd like to change the background colour in the picturebox ClientView if possible? Without having to export as an image.
This is the code I'm using:
oSvr = new Inventor.ApprenticeServerComponent(); oAppDoc = oSvr.OpenWithOptions(strFullDocumentName, oDocOpenOptions); oClientView = oAppDoc.ClientViews.Add(pictureBox1.Handle.ToInt32()); oCamera = oClientView.Camera; oCamera.ViewOrientationType = Inventor.ViewOrientationTypeEnum.kIsoTopLeftViewOrientation; oCamera.Perspective = true; oCamera.Apply(); this.Refresh(); oClientView.Update(false);