PrinterSettings.PrintFileName Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the file name, when printing to a file.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public string PrintFileName { get; set; }

Property Value

Type: System.String

The file name, when printing to a file.


for read access when getting the file name and write access when setting the file name. Related enumeration FileIOPermissionAccess.

.NET Framework
Available since 2.0
Return to top