Prints the CAD window.
Visual Basic |
---|
Public Function Print( _ ByVal Option As ENUM_CADPRINTOPTIONS, _ ByVal DrawRulers As Boolean _ ) As Boolean |
- 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.Value Description CADPRINT_ENTIRCURSCALE Prints the entire CAD view at the current scale. CADPRINT_ENTIREVIEW Prints entire CAD view. CADPRINT_ONEPAGESCALE Prints view scaled to fit on a single page. CADPRINT_VISIBLEAREA Prints the visible screen area. - 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.
Boolean value. Boolean returns true if the function succeeds, false if it fails.