[#BloombergLP-bdljsn-WriteOptions-setSpacesPerLevel]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/WriteOptions.adoc[WriteOptions]::setSpacesPerLevel
:relfileprefix: ../../../
:mrdocs:

Set the `spacesPerLevel` attribute of this object to the specified `value`&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;writeoptions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/WriteOptions.adoc[WriteOptions]&
setSpacesPerLevel(int value);
----

== Description

The behavior is undefined unless `0 &lt;&equals; value`&period;

== Return Value

a non&hyphen;`const` reference to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| new value for `spacesPerLevel`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
