Screen Capture All Viewports
Please C# code
Screen Capture All Viewports
Please C# code
Create a command, in its implementation:
doc.Views_ViewCaptureToFile with appropriate settingsIf you are not yet familiar with C# you could go through some tutorials first. Here a random selection of sites offering tutorials on C#:
https://en.wikibooks.org/wiki/C_Sharp_Programming