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

Change and save printer setup setting, exposes the print parameters just like the Print Setup Dialog (File->Print Setup...) in UI such as Printer name, paper, zoom, options, etc.
Inheritance: ISettingNameOperation
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( ) : bool
PrintSTP ( PrintManager printMgr, ExternalCommandData commandData ) : System
Rename ( string name ) : bool
Revert ( ) : void
Save ( ) : bool
SaveAs ( string newName ) : bool
VerifyMarginType ( System controlToEnableOrNot ) : bool
VerifyUserDefinedMargin ( Collection controlsToEnableOrNot ) : bool

Method Details

Delete() public méthode

public Delete ( ) : bool
Résultat bool

PrintSTP() public méthode

public PrintSTP ( PrintManager printMgr, ExternalCommandData commandData ) : System
printMgr PrintManager
commandData ExternalCommandData
Résultat System

Rename() public méthode

public Rename ( string name ) : bool
name string
Résultat bool

Revert() public méthode

public Revert ( ) : void
Résultat void

Save() public méthode

public Save ( ) : bool
Résultat bool

SaveAs() public méthode

public SaveAs ( string newName ) : bool
newName string
Résultat bool

VerifyMarginType() public méthode

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

VerifyUserDefinedMargin() public méthode

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