Message 1 of 2
SaveAsBitmap method doesn't honor topColor and bottomColor arguments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
The SaveAsBitmap method doesn't seem to honor the optional topColor and bottomColor arguments anymore when the Inventor background is set to 'Background Image' instead of '1 Color' or 'Gradient'. This behavior seems to have been changed since Inventor 2016. It was working correctly in Inventor 2015 and before.
Can this be reproduced and fixed? I am using this code to create a thumbnail with a white background.
Dim transientObjects As TransientObjects = _inventorApplication.TransientObjects Dim backGroundColor As Color = transientObjects.CreateColor(255, 255, 255) activeView.Camera.SaveAsBitmap(thumbnailFilePath, 600, 600, backGroundColor, backGroundColor)