Table of contents
Collapse the table of content
Expand the table of content

InteractiveSession.PrintWidth Property (F#)

Den Delimarsky|Last Updated: 8/18/2017
2 Contributors

Gets or sets the print width, that is, the number of characters to print per line, in an F# interactive session.

Namespace/Module Path: Microsoft.FSharp.Compiler.Interactive

Assembly: FSharp.Compiler.Interactive.Settings (in FSharp.Compiler.Interactive.Settings.dll)


// Signatures:
member this.PrintWidth :  int
member this.PrintWidth : int with set :  int

// Usage:
interactiveSession.PrintWidth <- printWidth


printWidth Type: int

The print width to set.


The default value is 78.


Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

See Also

Interactive.InteractiveSession Class (F#)

Microsoft.FSharp.Compiler.Interactive Namespace (F#)

© 2020 Microsoft