Capture an image of the same size as the object

I’m trying to make a captured image without margin about select object.
(Same size of bounding box. bmp/png whatever.)
Like picture below…

Is there any good idea?

And… Could anyone explain how to use SetOffset of ViewCaptureSetting?

I’m using c#, and Rhino7.

Thanks in advance.

See if this example helps.

Thank you soooo much!!
The posted codes exactly what I was looking for.
I had to add the ZoomExtentsParallelBorder setting… :sweat_smile:

1 Like