Attachmate Reflection 2014 .NET API Reference
PrintFileName Property


Returns or specifies the name of the file to receive print jobs when the PrintToFile property is set to true.
Syntax
'Declaration
 
Property PrintFileName As String
'Usage
 
Dim instance As IPrintOptions
Dim value As String
 
instance.PrintFileName = value
 
value = instance.PrintFileName
string PrintFileName {get; set;}
Exceptions
ExceptionDescription
Attachmate.Reflection.SecuredSettingException This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
System.ArgumentNullException Thrown if the set parameter is null (Nothing in Visual Basic). Use an zero-length string to indicate an empty value.
System.ArgumentException Thrown if the set parameter length is too long.
Remarks
Use the PrintFileExistsAction to determine what happens when the specified file already exists. The default value is "". This string can be up to 260 characters long.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IPrintOptions Interface
IPrintOptions Members

Send Feedback