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

Exposes the print interfaces just like the Print Dialog (File->Print...) in UI.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ChangePrintSetup ( ) : void
Résultat void

ChangePrintToFileName() public méthode

public ChangePrintToFileName ( ) : string
Résultat string

MyMessageBox() public static méthode

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

PrintMgr() public méthode

public PrintMgr ( ExternalCommandData commandData ) : System
commandData ExternalCommandData
Résultat System

SelectViewSheetSet() public méthode

public SelectViewSheetSet ( ) : void
Résultat void

SubmitPrint() public méthode

public SubmitPrint ( ) : bool
Résultat bool

VerifyCollate() public méthode

public VerifyCollate ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
Résultat bool

VerifyCopies() public méthode

public VerifyCopies ( Collection controlsToEnableOrNot ) : bool
controlsToEnableOrNot Collection
Résultat bool

VerifyPrintToFile() public méthode

public VerifyPrintToFile ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
Résultat bool

VerifyPrintToFileName() public méthode

public VerifyPrintToFileName ( Collection controlsToEnableOrNot ) : bool
controlsToEnableOrNot Collection
Résultat bool

VerifyPrintToSeparateFile() public méthode

public VerifyPrintToSeparateFile ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
Résultat bool

VerifyPrintToSingleFile() public méthode

public VerifyPrintToSingleFile ( System controlToEnableOrNot ) : bool
controlToEnableOrNot System
Résultat bool

VerifySelectViewSheetSet() public méthode

public VerifySelectViewSheetSet ( Collection controlsToEnableOrNot ) : bool
controlsToEnableOrNot Collection
Résultat bool