DrawingPrintManager Object

Derived from: PrintManager Object

Description

The DrawingPrintManager object supports properties and methods that allow you to get and set the printing parameters and submit the print.

Methods

Name Description
GetSheetRange Method that gets the sheet range to print. The sheet range is only used when the PrintRange property is set to kPrintSheetRange.
PrintToFile Method that prints to the specified file using the current property settings defined by the PrintManager object.
SetCurrentView Set the current view used for printing.
SetSheetRange Method that sets the sheet range to print. The range set is only used when the PrintRange property is set to kPrintSheetRange.
SubmitPrint Method that prints using the current property settings defined by the PrintManager object.

Properties

Name Description
AllColorsAsBlack
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
ColorMode
NumberOfCopies
Orientation
PaperHeight
PaperSize
PaperSource
PaperWidth
Printer
PrinterDeviceContext
PrintExcludedSheets
PrintRange
RemoveLineWeights
Rotate90Degrees
Scale
ScaleMode
TilingEnabled
Type Returns an ObjectTypeEnum indicating this object's type.

Samples

Name Description
Printing - All Sheets in Drawing This sample demonstrates how to print all sheets in a drawing document and set some of the DrawingPrintManager properties.
Printing - Drawing Print This sample demonstrates how to print a drawing, setting specifics such as sheet range.

Version

Introduced in version 5