Share

PrintManager.PrintToFileName Property

The file name when printing to file.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public string PrintToFileName { get; set; }

Property Value

String

Exceptions

ExceptionCondition
ArgumentNullException Thrown when the input file name is nullptr.
ArgumentException Thrown when the input file name is an invalid string.

Remarks

A default file name will be used when the PrintToFile is true and PrintToFileName is not be set.

The value of this property represents the global print setting property used for print operations on any document. In order to make a change to this property, after setting it call the Apply() method, or one of the SubmitPrint() methods, which save the local changes as modifications to the global print settings.

See Also

Reference

Was this information helpful?