PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Print Method
See Also

Collapse All Expand All

Option
  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.

# Description

Prints the current view(s) of the cad window Prints the CAD window.

# Syntax

Visual Basic

    Public Function Print( _
       ByVal Option As ENUM_CADPRINTOPTIONS, _
       ByVal DrawRulers As Boolean _
    ) As Boolean

# Parameters

Option

  Value | Description
  --- | ---
  CADPRINT_ONEPAGESCALE | Prints view scaled to fit on a single page.
  CADPRINT_VISIBLEAREA | Prints the visible screen area.
  CADPRINT_ENTIREVIEW | Prints entire CAD view.
  CADPRINT_ENTIRCURSCALE | Prints the entire CAD view at the current scale.

  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

CadWindow Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.