Code example: Print drawing

Updated: 6 Aug 2020

This code example demonstrates how to set the printing attributes, such as number of copies, orientation, paper size and scaling, and how to print drawing.

First a new GA drawing is created and opened, then the view is rotated and active drawing is printed with the selected attributes.

After downloading the TSOpenAPIExamples package from GitHub (button above), find Print_Drawing_DPM example at \Drawings\Applications\.

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.