---
title: "Aspose::Font::CffDataProviders::TopDictDataProvider::SetVersion method"
url: "https://reference.aspose.com/font/cpp/aspose.font.cffdataproviders/topdictdataprovider/setversion/"
product: "Aspose.Font for C++"
description: "Aspose::Font::CffDataProviders::TopDictDataProvider::SetVersion method. Sets string value for the version field(operator) and returns SID associated with the newly set string value in C++."
---

## TopDictDataProvider::SetVersion method


Sets string value for the version field(operator) and returns SID associated with the newly set string value.

```cpp
int32_t Aspose::Font::CffDataProviders::TopDictDataProvider::SetVersion(System::String value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::String | String value for the version field(operator) |

### ReturnValue

version SID(string identifier)

## See Also

* Class [String](../../../system/string/)
* Class [TopDictDataProvider](../)
* Namespace [Aspose::Font::CffDataProviders](../../)
* Library [Aspose.Font for C++](../../../)
