C# Class Revit.SDK.Samples.ViewPrinter.CS.PrintMgr

Exposes the print interfaces just like the Print Dialog (File->Print...) in UI.
显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
ChangePrintSetup ( ) : void
ChangePrintToFileName ( ) : string
MyMessageBox ( string text ) : void

global and consistent for message box with same caption

PrintMgr ( ExternalCommandData commandData ) : System
SelectViewSheetSet ( ) : void
SubmitPrint ( ) : bool
VerifyCollate ( System controlToEnableOrNot ) : bool
VerifyCopies ( Collection controlsToEnableOrNot ) : bool
VerifyPrintToFile ( System controlToEnableOrNot ) : bool
VerifyPrintToFileName ( Collection controlsToEnableOrNot ) : bool
VerifyPrintToSeparateFile ( System controlToEnableOrNot ) : bool
VerifyPrintToSingleFile ( System controlToEnableOrNot ) : bool
VerifySelectViewSheetSet ( Collection controlsToEnableOrNot ) : bool

Method Details

ChangePrintSetup() public method

public ChangePrintSetup ( ) : void
return void

ChangePrintToFileName() public method

public ChangePrintToFileName ( ) : string
return string

MyMessageBox() public static method

global and consistent for message box with same caption
public static MyMessageBox ( string text ) : void
text string MessageBox's text.
return void

PrintMgr() public method

public PrintMgr ( ExternalCommandData commandData ) : System
commandData ExternalCommandData
return System

SelectViewSheetSet() public method

public SelectViewSheetSet ( ) : void
return void

SubmitPrint() public method

public SubmitPrint ( ) : bool
return bool

VerifyCollate() public method

public VerifyCollate ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
return bool

VerifyCopies() public method

public VerifyCopies ( Collection controlsToEnableOrNot ) : bool
controlsToEnableOrNot Collection
return bool

VerifyPrintToFile() public method

public VerifyPrintToFile ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
return bool

VerifyPrintToFileName() public method

public VerifyPrintToFileName ( Collection controlsToEnableOrNot ) : bool
controlsToEnableOrNot Collection
return bool

VerifyPrintToSeparateFile() public method

public VerifyPrintToSeparateFile ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
return bool

VerifyPrintToSingleFile() public method

public VerifyPrintToSingleFile ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
return bool

VerifySelectViewSheetSet() public method

public VerifySelectViewSheetSet ( Collection controlsToEnableOrNot ) : bool
controlsToEnableOrNot Collection
return bool