Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
Required Long or enumerated value that indicates the type of printing to occur. Options include Scale to Fit on Single Page, Print Visible Screen Area, Print Complete Views, and Print Complete View w/ Current Scale. Print Visible Screen Area is only available one of the views are zoomed. Print Complete Views is only available when multiple views exist.
Required Boolean that indicates whether rulers should be included on the printout. This option is only available if rulers are currently turned on in the cad drawing.
Print Method
Description
Prints the CAD window.
Syntax
Visual Basic
Public Function Print( _
   ByVal Option As ENUM_CADPRINTOPTIONS, _
   ByVal DrawRulers As Boolean _
) As Boolean
Parameters
Option
ValueDescription
CADPRINT_ENTIRCURSCALEPrints the entire CAD view at the current scale.
CADPRINT_ENTIREVIEWPrints entire CAD view.
CADPRINT_ONEPAGESCALEPrints view scaled to fit on a single page.
CADPRINT_VISIBLEAREAPrints the visible screen area.
Required Long or enumerated value that indicates the type of printing to occur. Options include Scale to Fit on Single Page, Print Visible Screen Area, Print Complete Views, and Print Complete View w/ Current Scale. Print Visible Screen Area is only available one of the views are zoomed. Print Complete Views is only available when multiple views exist.
DrawRulers
Required Boolean that indicates whether rulers should be included on the printout. This option is only available if rulers are currently turned on in the cad drawing.
Return Type
Boolean value. Boolean returns true if the function succeeds, false if it fails.
See Also