Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
ianjwellings
in reply to: JelteDeJong

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);