---
title: "Aspose::Pdf::ColumnInfo class"
url: "https://reference.aspose.com/pdf/cpp/aspose.pdf/columninfo/"
product: "Aspose.PDF for C++ API Reference"
description: "Aspose::Pdf::ColumnInfo class. This class represents a columns info in C++."
---

## ColumnInfo class


This class represents a columns info.

```cpp
class ColumnInfo : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [ColumnInfo](./columninfo/)() | Initializes a new instance of the [ColumnInfo](./) class. |
| [get_ColumnCount](./get_columncount/)() const | Gets a int value that indicates the number of columns. |
| [get_ColumnSpacing](./get_columnspacing/)() const | Gets a string that contains the spacing between columns. The value of each spacing should be separated by blank. The default unit is point, but cm and inch are also supported.For example,"120 2.5cm 1.5inch". |
| [get_ColumnWidths](./get_columnwidths/)() const | Gets a string that contains the width of columns. The value of each column should be separated by blank.The default unit is point, but cm, inch and percentage of available width are also supported. For example,"120 2.5cm 1.5inch". |
| [set_ColumnCount](./set_columncount/)(int32_t) | Sets a int value that indicates the number of columns. |
| [set_ColumnSpacing](./set_columnspacing/)(const System::String\&) | Sets a string that contains the spacing between columns. The value of each spacing should be separated by blank. The default unit is point, but cm and inch are also supported.For example,"120 2.5cm 1.5inch". |
| [set_ColumnWidths](./set_columnwidths/)(const System::String\&) | Sets a string that contains the width of columns. The value of each column should be separated by blank.The default unit is point, but cm, inch and percentage of available width are also supported. For example,"120 2.5cm 1.5inch". |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pdf](../)
* Library [Aspose.PDF for C++](../../)
