---
title: "System::Text::Json::JsonDocumentOptions::set_MaxDepth method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/jsondocumentoptions/set_maxdepth/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use set_MaxDepth method of System::Text::Json::JsonDocumentOptions class in C++."
---

## JsonDocumentOptions::set_MaxDepth method




```cpp
void System::Text::Json::JsonDocumentOptions::set_MaxDepth(int32_t value)
```

## See Also

* Class [JsonDocumentOptions](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
