Skip to content

Commit 58b96e4

Browse files
Merge pull request #193 from aspose-words/cpp/release/26.2
Update API Reference for Aspose.Words for C++ 26.2
2 parents 0081970 + 1e2e09f commit 58b96e4

21 files changed

Lines changed: 516 additions & 1 deletion

File tree

english/cpp/aspose.words.drawing.charts/chartaxistitle/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ class ChartAxisTitle : public System::Object
2222
| --- | --- |
2323
| [get_Font](./get_font/)() | Provides access to the font formatting of the axis title. |
2424
| [get_Format](./get_format/)() | Provides access to fill and line formatting of the axis title. |
25+
| [get_Orientation](./get_orientation/)() | Gets or sets the orientation of the axis title text. |
2526
| [get_Overlay](./get_overlay/)() | Determines whether other chart elements shall be allowed to overlap the title. The default value is **false**. |
27+
| [get_Rotation](./get_rotation/)() | Gets or sets the rotation of the axis title in degrees. |
2628
| [get_Show](./get_show/)() | Determines whether the title shall be shown for the axis. The default value is **false**. |
2729
| [get_Text](./get_text/)() | Gets or sets the text of the axis title. If **null** or empty value is specified, auto generated title will be shown. |
2830
| [GetType](./gettype/)() const override | |
2931
| [Is](./is/)(const System::TypeInfo\&) const override | |
32+
| [set_Orientation](./set_orientation/)(Aspose::Words::Drawing::ShapeTextOrientation) | Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Orientation](./get_orientation/). |
3033
| [set_Overlay](./set_overlay/)(bool) | Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Overlay](./get_overlay/). |
34+
| [set_Rotation](./set_rotation/)(int32_t) | Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Rotation](./get_rotation/). |
3135
| [set_Show](./set_show/)(bool) | Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Show](./get_show/). |
3236
| [set_Text](./set_text/)(const System::String\&) | Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Text](./get_text/). |
3337
| static [Type](./type/)() | |
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Orientation method
3+
linktitle: get_Orientation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Orientation method. Gets or sets the orientation of the axis title text in C++.'
6+
type: docs
7+
weight: 3500
8+
url: /cpp/aspose.words.drawing.charts/chartaxistitle/get_orientation/
9+
---
10+
## ChartAxisTitle::get_Orientation method
11+
12+
13+
Gets or sets the orientation of the axis title text.
14+
15+
```cpp
16+
Aspose::Words::Drawing::ShapeTextOrientation Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Orientation()
17+
```
18+
19+
20+
## Examples
21+
22+
23+
24+
Shows how to set orientation and rotation of chart and axis titles.
25+
```cpp
26+
auto doc = System::MakeObject<Aspose::Words::Document>();
27+
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);
28+
System::SharedPtr<Aspose::Words::Drawing::Shape> chartShape = builder->InsertChart(Aspose::Words::Drawing::Charts::ChartType::Column, 400, 300);
29+
System::SharedPtr<Aspose::Words::Drawing::Charts::Chart> chart = chartShape->get_Chart();
30+
31+
chart->get_Title()->set_Text(u"Sample Chart");
32+
chart->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
33+
chart->get_Title()->set_Rotation(90);
34+
35+
// Before setting title properties, make sure that this title will be displayed.
36+
chart->get_AxisX()->get_Title()->set_Show(true);
37+
chart->get_AxisX()->get_Title()->set_Text(u"X Axis");
38+
chart->get_AxisX()->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
39+
chart->get_AxisX()->get_Title()->set_Rotation(-90);
40+
41+
doc->Save(get_ArtifactsDir() + u"Charts.TitleOrientation.docx");
42+
```
43+
44+
## See Also
45+
46+
* Enum [ShapeTextOrientation](../../../aspose.words.drawing/shapetextorientation/)
47+
* Class [ChartAxisTitle](../)
48+
* Namespace [Aspose::Words::Drawing::Charts](../../)
49+
* Library [Aspose.Words for C++](../../../)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Rotation method
3+
linktitle: get_Rotation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Rotation method. Gets or sets the rotation of the axis title in degrees in C++.'
6+
type: docs
7+
weight: 4500
8+
url: /cpp/aspose.words.drawing.charts/chartaxistitle/get_rotation/
9+
---
10+
## ChartAxisTitle::get_Rotation method
11+
12+
13+
Gets or sets the rotation of the axis title in degrees.
14+
15+
```cpp
16+
int32_t Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Rotation()
17+
```
18+
19+
20+
## Examples
21+
22+
23+
24+
Shows how to set orientation and rotation of chart and axis titles.
25+
```cpp
26+
auto doc = System::MakeObject<Aspose::Words::Document>();
27+
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);
28+
System::SharedPtr<Aspose::Words::Drawing::Shape> chartShape = builder->InsertChart(Aspose::Words::Drawing::Charts::ChartType::Column, 400, 300);
29+
System::SharedPtr<Aspose::Words::Drawing::Charts::Chart> chart = chartShape->get_Chart();
30+
31+
chart->get_Title()->set_Text(u"Sample Chart");
32+
chart->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
33+
chart->get_Title()->set_Rotation(90);
34+
35+
// Before setting title properties, make sure that this title will be displayed.
36+
chart->get_AxisX()->get_Title()->set_Show(true);
37+
chart->get_AxisX()->get_Title()->set_Text(u"X Axis");
38+
chart->get_AxisX()->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
39+
chart->get_AxisX()->get_Title()->set_Rotation(-90);
40+
41+
doc->Save(get_ArtifactsDir() + u"Charts.TitleOrientation.docx");
42+
```
43+
44+
## See Also
45+
46+
* Class [ChartAxisTitle](../)
47+
* Namespace [Aspose::Words::Drawing::Charts](../../)
48+
* Library [Aspose.Words for C++](../../../)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartAxisTitle::set_Orientation method
3+
linktitle: set_Orientation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartAxisTitle::set_Orientation method. Setter for Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Orientation in C++.'
6+
type: docs
7+
weight: 8500
8+
url: /cpp/aspose.words.drawing.charts/chartaxistitle/set_orientation/
9+
---
10+
## ChartAxisTitle::set_Orientation method
11+
12+
13+
Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Orientation](../get_orientation/).
14+
15+
```cpp
16+
void Aspose::Words::Drawing::Charts::ChartAxisTitle::set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation value)
17+
```
18+
19+
## See Also
20+
21+
* Enum [ShapeTextOrientation](../../../aspose.words.drawing/shapetextorientation/)
22+
* Class [ChartAxisTitle](../)
23+
* Namespace [Aspose::Words::Drawing::Charts](../../)
24+
* Library [Aspose.Words for C++](../../../)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartAxisTitle::set_Rotation method
3+
linktitle: set_Rotation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartAxisTitle::set_Rotation method. Setter for Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Rotation in C++.'
6+
type: docs
7+
weight: 9500
8+
url: /cpp/aspose.words.drawing.charts/chartaxistitle/set_rotation/
9+
---
10+
## ChartAxisTitle::set_Rotation method
11+
12+
13+
Setter for [Aspose::Words::Drawing::Charts::ChartAxisTitle::get_Rotation](../get_rotation/).
14+
15+
```cpp
16+
void Aspose::Words::Drawing::Charts::ChartAxisTitle::set_Rotation(int32_t value)
17+
```
18+
19+
## See Also
20+
21+
* Class [ChartAxisTitle](../)
22+
* Namespace [Aspose::Words::Drawing::Charts](../../)
23+
* Library [Aspose.Words for C++](../../../)

english/cpp/aspose.words.drawing.charts/chartseriescollection/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ class ChartSeriesCollection : public System::Collections::Generic::IEnumerable<S
2121
| Method | Description |
2222
| --- | --- |
2323
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<System::String\>\&, const System::ArrayPtr\<double\>\&) | Adds new [ChartSeries](../chartseries/) to this collection. Use this method to add series to any type of Bar, Column, Line and Surface charts. |
24+
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<System::String\>\&, const System::ArrayPtr\<double\>\&, const System::ArrayPtr\<bool\>\&) | |
2425
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<double\>\&, const System::ArrayPtr\<double\>\&) | Adds new [ChartSeries](../chartseries/) to this collection. Use this method to add series to any type of Scatter charts. |
2526
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<System::DateTime\>\&, const System::ArrayPtr\<double\>\&) | Adds new [ChartSeries](../chartseries/) to this collection. Use this method to add series to any type of Area, Radar and Stock charts. |
2627
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<double\>\&, const System::ArrayPtr\<double\>\&, const System::ArrayPtr\<double\>\&) | Adds new [ChartSeries](../chartseries/) to this collection. Use this method to add series to any type of Bubble charts. |
2728
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<System::SharedPtr\<Aspose::Words::Drawing::Charts::ChartMultilevelValue\>\>\&, const System::ArrayPtr\<double\>\&) | Adds new [ChartSeries](../chartseries/) to this collection. Use this method to add series that have multi-level data categories. |
2829
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<double\>\&) | Adds new [ChartSeries](../chartseries/) to this collection. Use this method to add series to Histogram charts. |
29-
| [Add](./add/)(const System::String\&, const System::ArrayPtr\<System::String\>\&, const System::ArrayPtr\<double\>\&, const System::ArrayPtr\<bool\>\&) | |
3030
| [Clear](./clear/)() | Removes all [ChartSeries](../chartseries/) from this collection. |
3131
| [get_Count](./get_count/)() | Returns the number of [ChartSeries](../chartseries/) in this collection. |
3232
| [GetEnumerator](./getenumerator/)() override | Returns an enumerator object. |

english/cpp/aspose.words.drawing.charts/charttitle/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ class ChartTitle : public System::Object
2222
| --- | --- |
2323
| [get_Font](./get_font/)() | Provides access to the font formatting of the chart title. |
2424
| [get_Format](./get_format/)() | Provides access to fill and line formatting of the chart title. |
25+
| [get_Orientation](./get_orientation/)() | Gets or sets the orientation of the chart title text. |
2526
| [get_Overlay](./get_overlay/)() | Determines whether other chart elements shall be allowed to overlap title. By default overlay is **false**. |
27+
| [get_Rotation](./get_rotation/)() | Gets or sets the rotation of the chart title in degrees. |
2628
| [get_Show](./get_show/)() | Determines whether the title shall be shown for this chart. Default value is **true**. |
2729
| [get_Text](./get_text/)() | Gets or sets the text of the chart title. If **null** or empty value is specified, auto generated title will be shown. |
2830
| [GetType](./gettype/)() const override | |
2931
| [Is](./is/)(const System::TypeInfo\&) const override | |
32+
| [set_Orientation](./set_orientation/)(Aspose::Words::Drawing::ShapeTextOrientation) | Setter for [Aspose::Words::Drawing::Charts::ChartTitle::get_Orientation](./get_orientation/). |
3033
| [set_Overlay](./set_overlay/)(bool) | Setter for [Aspose::Words::Drawing::Charts::ChartTitle::get_Overlay](./get_overlay/). |
34+
| [set_Rotation](./set_rotation/)(int32_t) | Setter for [Aspose::Words::Drawing::Charts::ChartTitle::get_Rotation](./get_rotation/). |
3135
| [set_Show](./set_show/)(bool) | Setter for [Aspose::Words::Drawing::Charts::ChartTitle::get_Show](./get_show/). |
3236
| [set_Text](./set_text/)(const System::String\&) | Setter for [Aspose::Words::Drawing::Charts::ChartTitle::get_Text](./get_text/). |
3337
| static [Type](./type/)() | |
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartTitle::get_Orientation method
3+
linktitle: get_Orientation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartTitle::get_Orientation method. Gets or sets the orientation of the chart title text in C++.'
6+
type: docs
7+
weight: 1875
8+
url: /cpp/aspose.words.drawing.charts/charttitle/get_orientation/
9+
---
10+
## ChartTitle::get_Orientation method
11+
12+
13+
Gets or sets the orientation of the chart title text.
14+
15+
```cpp
16+
Aspose::Words::Drawing::ShapeTextOrientation Aspose::Words::Drawing::Charts::ChartTitle::get_Orientation()
17+
```
18+
19+
20+
## Examples
21+
22+
23+
24+
Shows how to set orientation and rotation of chart and axis titles.
25+
```cpp
26+
auto doc = System::MakeObject<Aspose::Words::Document>();
27+
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);
28+
System::SharedPtr<Aspose::Words::Drawing::Shape> chartShape = builder->InsertChart(Aspose::Words::Drawing::Charts::ChartType::Column, 400, 300);
29+
System::SharedPtr<Aspose::Words::Drawing::Charts::Chart> chart = chartShape->get_Chart();
30+
31+
chart->get_Title()->set_Text(u"Sample Chart");
32+
chart->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
33+
chart->get_Title()->set_Rotation(90);
34+
35+
// Before setting title properties, make sure that this title will be displayed.
36+
chart->get_AxisX()->get_Title()->set_Show(true);
37+
chart->get_AxisX()->get_Title()->set_Text(u"X Axis");
38+
chart->get_AxisX()->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
39+
chart->get_AxisX()->get_Title()->set_Rotation(-90);
40+
41+
doc->Save(get_ArtifactsDir() + u"Charts.TitleOrientation.docx");
42+
```
43+
44+
## See Also
45+
46+
* Enum [ShapeTextOrientation](../../../aspose.words.drawing/shapetextorientation/)
47+
* Class [ChartTitle](../)
48+
* Namespace [Aspose::Words::Drawing::Charts](../../)
49+
* Library [Aspose.Words for C++](../../../)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartTitle::get_Rotation method
3+
linktitle: get_Rotation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartTitle::get_Rotation method. Gets or sets the rotation of the chart title in degrees in C++.'
6+
type: docs
7+
weight: 2500
8+
url: /cpp/aspose.words.drawing.charts/charttitle/get_rotation/
9+
---
10+
## ChartTitle::get_Rotation method
11+
12+
13+
Gets or sets the rotation of the chart title in degrees.
14+
15+
```cpp
16+
int32_t Aspose::Words::Drawing::Charts::ChartTitle::get_Rotation()
17+
```
18+
19+
20+
## Examples
21+
22+
23+
24+
Shows how to set orientation and rotation of chart and axis titles.
25+
```cpp
26+
auto doc = System::MakeObject<Aspose::Words::Document>();
27+
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);
28+
System::SharedPtr<Aspose::Words::Drawing::Shape> chartShape = builder->InsertChart(Aspose::Words::Drawing::Charts::ChartType::Column, 400, 300);
29+
System::SharedPtr<Aspose::Words::Drawing::Charts::Chart> chart = chartShape->get_Chart();
30+
31+
chart->get_Title()->set_Text(u"Sample Chart");
32+
chart->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
33+
chart->get_Title()->set_Rotation(90);
34+
35+
// Before setting title properties, make sure that this title will be displayed.
36+
chart->get_AxisX()->get_Title()->set_Show(true);
37+
chart->get_AxisX()->get_Title()->set_Text(u"X Axis");
38+
chart->get_AxisX()->get_Title()->set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation::Horizontal);
39+
chart->get_AxisX()->get_Title()->set_Rotation(-90);
40+
41+
doc->Save(get_ArtifactsDir() + u"Charts.TitleOrientation.docx");
42+
```
43+
44+
## See Also
45+
46+
* Class [ChartTitle](../)
47+
* Namespace [Aspose::Words::Drawing::Charts](../../)
48+
* Library [Aspose.Words for C++](../../../)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Aspose::Words::Drawing::Charts::ChartTitle::set_Orientation method
3+
linktitle: set_Orientation
4+
second_title: Aspose.Words for C++ API Reference
5+
description: 'Aspose::Words::Drawing::Charts::ChartTitle::set_Orientation method. Setter for Aspose::Words::Drawing::Charts::ChartTitle::get_Orientation in C++.'
6+
type: docs
7+
weight: 6500
8+
url: /cpp/aspose.words.drawing.charts/charttitle/set_orientation/
9+
---
10+
## ChartTitle::set_Orientation method
11+
12+
13+
Setter for [Aspose::Words::Drawing::Charts::ChartTitle::get_Orientation](../get_orientation/).
14+
15+
```cpp
16+
void Aspose::Words::Drawing::Charts::ChartTitle::set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation value)
17+
```
18+
19+
## See Also
20+
21+
* Enum [ShapeTextOrientation](../../../aspose.words.drawing/shapetextorientation/)
22+
* Class [ChartTitle](../)
23+
* Namespace [Aspose::Words::Drawing::Charts](../../)
24+
* Library [Aspose.Words for C++](../../../)

0 commit comments

Comments
 (0)