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
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method 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 method

public Delete ( ) : bool
return bool

PrintSTP() public method

public PrintSTP ( PrintManager printMgr, ExternalCommandData commandData ) : System
printMgr PrintManager
commandData ExternalCommandData
return System

Rename() public method

public Rename ( string name ) : bool
name string
return bool

Revert() public method

public Revert ( ) : void
return void

Save() public method

public Save ( ) : bool
return bool

SaveAs() public method

public SaveAs ( string newName ) : bool
newName string
return bool

VerifyMarginType() public method

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

VerifyUserDefinedMargin() public method

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