Skip to content

Commit 3bdea9d

Browse files
Aspose.Slides for C++ 25.10 API Reference
1 parent ff7201b commit 3bdea9d

File tree

517 files changed

+7707
-414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

517 files changed

+7707
-414
lines changed

content/cpp/english/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Aspose.Slides for C++ API Reference (version 25.9)
2+
title: Aspose.Slides for C++ API Reference (version 25.10)
33
type: docs
44
weight: 12
55
url: /
@@ -56,6 +56,8 @@ is_root: true
5656
- [System::IO::Compression](./system.io.compression/)
5757
- [System::Linq](./system.linq/)
5858
- [System::Linq::Details](./system.linq.details/)
59+
- [System::MemoryExtensions](./system.memoryextensions/)
60+
- [System::MemoryExtensions::Details](./system.memoryextensions.details/)
5961
- [System::Net](./system.net/)
6062
- [System::Net::Cache](./system.net.cache/)
6163
- [System::Net::Http](./system.net.http/)

content/cpp/english/aspose.slides.export/slideimageformat/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class SlideImageFormat : public Aspose::Slides::Export::ISlideImageFormat
2020
| Method | Description |
2121
| --- | --- |
2222
| static [System::SharedPtr](../../system/sharedptr/)\<[SlideImageFormat](./)\> [Bitmap](./bitmap/)(**float**, [System::SharedPtr](../../system/sharedptr/)\<[System::Drawing::Imaging::ImageFormat](../../system.drawing.imaging/imageformat/)\>) | [Slides](../../aspose.slides/) should be converted to a raster image. |
23+
| static [System::SharedPtr](../../system/sharedptr/)\<[SlideImageFormat](./)\> [Bitmap](./bitmap/)(**float**, [Aspose::Slides::ImageFormat](../../aspose.slides/imageformat/)) | [Slides](../../aspose.slides/) should be converted to a raster image. |
2324
| virtual **bool** [Equals](../../system/object/equals/)([ptr](../../system/object/ptr/)) | Compares objects using C# [Object.Equals](../../system/object/equals/) semantics. |
2425
| static std::enable_if\<[IsSmartPtr](../../system/issmartptr/)\<T1\>::value\&&[IsSmartPtr](../../system/issmartptr/)\<T2\>::value, **bool**\>::type [Equals](../../system/object/equals/)(T1 const\&, T2 const\&) | Compares reference type objects in C# style. |
2526
| static std::enable_if<\![IsSmartPtr](../../system/issmartptr/)\<T1\>::value\&&\![IsSmartPtr](../../system/issmartptr/)\<T2\>::value, **bool**\>::type [Equals](../../system/object/equals/)(T1 const\&, T2 const\&) | Compares value type objects in C# style. |

content/cpp/english/aspose.slides.export/slideimageformat/bitmap/_index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,33 @@ static System::SharedPtr<SlideImageFormat> Aspose::Slides::Export::SlideImageFor
2727
2828
2929
30+
Deprecated
31+
: Use Bitmap(float scale, [Slides.ImageFormat](../../../aspose.slides/imageformat/) imageFormat) method instead. This method will be removed after release of version 25.10.
32+
33+
## SlideImageFormat::Bitmap(float, Aspose::Slides::ImageFormat) method
34+
35+
36+
[Slides](../../../aspose.slides/) should be converted to a raster image.
37+
38+
```cpp
39+
static System::SharedPtr<SlideImageFormat> Aspose::Slides::Export::SlideImageFormat::Bitmap(float scale, Aspose::Slides::ImageFormat imageFormat)
40+
```
41+
42+
43+
### Arguments
44+
45+
| Parameter | Type | Description |
46+
| --- | --- | --- |
47+
| scale | **float** | The factor by which to scale the output image. |
48+
| imageFormat | [Aspose::Slides::ImageFormat](../../../aspose.slides/imageformat/) | The format of the resulting image (e.g., PNG, JPEG). |
49+
50+
### Return Value
51+
52+
53+
3054
## See Also
3155

56+
* Enum [ImageFormat](../../../aspose.slides/imageformat/)
3257
* Typedef [SharedPtr](../../../system/sharedptr/)
3358
* Class [SlideImageFormat](../)
3459
* Class [ImageFormat](../../../system.drawing.imaging/imageformat/)

content/cpp/english/aspose.slides/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ url: /aspose.slides/
469469
| [FillType](./filltype/) | Specifies the interior fill type of various visual objects. |
470470
| [FontAlignment](./fontalignment/) | Represents vertical font alignment. |
471471
| [FontCollectionIndex](./fontcollectionindex/) | Represents font's index in a collection. |
472+
| [FontStyleType](./fontstyletype/) | Defines formatting styles that can be applied to text. |
472473
| [FontSubstCondition](./fontsubstcondition/) | Represents a rule fot font substitution |
473474
| [GradientDirection](./gradientdirection/) | Represents the gradient style. |
474475
| [GradientShape](./gradientshape/) | Represents the shape of gradient fill. |

content/cpp/english/aspose.slides/fontsmanager/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ class FontsManager : public Aspose::Slides::IFontsManager
3434
| [System::SharedPtr](../../system/sharedptr/)\<[Aspose::Slides::IFontSubstRuleCollection](../ifontsubstrulecollection/)\> [get_FontSubstRuleList](./get_fontsubstrulelist/)() override | Font substitutions to use when rendering. Read [IFontSubstRuleCollection](../ifontsubstrulecollection/). |
3535
| Detail::SmartPtrCounter * [GetCounter](../../system/object/getcounter/)() | Gets reference counter data structure associated with the object. |
3636
| [System::ArrayPtr](../../system/arrayptr/)\<[System::SharedPtr](../../system/sharedptr/)\<[Aspose::Slides::IFontData](../ifontdata/)\>\> [GetEmbeddedFonts](./getembeddedfonts/)() override | Returns the fonts embedded in the presentation |
37+
| [System::ArrayPtr](../../system/arrayptr/)\<**uint8_t**\> [GetFontBytes](./getfontbytes/)([System::SharedPtr](../../system/sharedptr/)\<[Aspose::Slides::IFontData](../ifontdata/)\>, [Aspose::Slides::FontStyleType](../fontstyletype/)) override | Retrieves the byte array representing the font data for a specified font style and font data. |
3738
| [System::ArrayPtr](../../system/arrayptr/)\<**uint8_t**\> [GetFontBytes](./getfontbytes/)([System::SharedPtr](../../system/sharedptr/)\<[Aspose::Slides::IFontData](../ifontdata/)\>, [System::Drawing::FontStyle](../../system.drawing/fontstyle/)) override | Retrieves the byte array representing the font data for a specified font style and font data. |
3839
| virtual [System::ArrayPtr](../../system/arrayptr/)\<**uint8_t**\> [GetFontBytes](../ifontsmanager/getfontbytes/)([System::SharedPtr](../../system/sharedptr/)\<[IFontData](../ifontdata/)\>, [System::Drawing::FontStyle](../../system.drawing/fontstyle/)) | Retrieves the byte array representing the font data for a specified font style and font data. |
40+
| virtual [System::ArrayPtr](../../system/arrayptr/)\<**uint8_t**\> [GetFontBytes](../ifontsmanager/getfontbytes/)([System::SharedPtr](../../system/sharedptr/)\<[IFontData](../ifontdata/)\>, [FontStyleType](../fontstyletype/)) | Retrieves the byte array representing the font data for a specified font style and font data. |
3941
| [Aspose::Slides::EmbeddingLevel](../embeddinglevel/) [GetFontEmbeddingLevel](./getfontembeddinglevel/)([System::ArrayPtr](../../system/arrayptr/)\<**uint8_t**\>, [System::String](../../system/string/)) override | Determines the embedding level of a font from the given byte array and font name. |
4042
| [System::ArrayPtr](../../system/arrayptr/)\<[System::SharedPtr](../../system/sharedptr/)\<[Aspose::Slides::IFontData](../ifontdata/)\>\> [GetFonts](./getfonts/)() override | Returns the fonts used in the presentation |
4143
| virtual **int32_t** [GetHashCode](../../system/object/gethashcode/)() const | Analog of C# [Object.GetHashCode()](../../system/object/gethashcode/) method. Enables hashing of custom objects. |

content/cpp/english/aspose.slides/fontsmanager/getfontbytes/_index.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,41 @@ type: docs
66
weight: 131
77
url: /aspose.slides/fontsmanager/getfontbytes/
88
---
9+
## FontsManager::GetFontBytes(System::SharedPtr\<Aspose::Slides::IFontData\>, Aspose::Slides::FontStyleType) method
10+
11+
12+
Retrieves the byte array representing the font data for a specified font style and font data.
13+
14+
```cpp
15+
System::ArrayPtr<uint8_t> Aspose::Slides::FontsManager::GetFontBytes(System::SharedPtr<Aspose::Slides::IFontData> fontData, Aspose::Slides::FontStyleType fontStyle) override
16+
```
17+
18+
19+
### Arguments
20+
21+
| Parameter | Type | Description |
22+
| --- | --- | --- |
23+
| fontData | [System::SharedPtr](../../../system/sharedptr/)\<[Aspose::Slides::IFontData](../../ifontdata/)\> | The font data object containing the information about the font [IFontData](../../ifontdata/). |
24+
| fontStyle | [Aspose::Slides::FontStyleType](../../fontstyletype/) | The style of the font for which the data is to be retrieved [FontStyleType](../../fontstyletype/). |
25+
26+
### Return Value
27+
28+
A byte array containing the font data for the specified font style. If the font data or style is not found, returns null.
29+
## Remarks
30+
31+
32+
33+
34+
```cpp
35+
System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"Presentation.pptx");
36+
37+
// Retrieve all fonts used in the presentation
38+
System::ArrayPtr<System::SharedPtr<IFontData>> fonts = pres->get_FontsManager()->GetFonts();
39+
40+
// Get the byte array representing the regular style of the first font in the presentation
41+
System::ArrayPtr<uint8_t> bytes = pres->get_FontsManager()->GetFontBytes(fonts[0], FontStyleType::Regular);
42+
```
43+
944
## FontsManager::GetFontBytes(System::SharedPtr\<Aspose::Slides::IFontData\>, System::Drawing::FontStyle) method
1045

1146

@@ -29,6 +64,9 @@ A byte array containing the font data for the specified font style. If the font
2964
## Remarks
3065
3166
67+
Deprecated
68+
: Use GetFontBytes(IFontData fontData, FontStyleType fontStyle) method instead. This method will be removed after release of version 25.10.
69+
3270
3371
3472
```cpp
@@ -43,6 +81,7 @@ System::ArrayPtr<uint8_t> bytes = pres->get_FontsManager()->GetFontBytes(fonts[0
4381

4482
## See Also
4583

84+
* Enum [FontStyleType](../../fontstyletype/)
4685
* Enum [FontStyle](../../../system.drawing/fontstyle/)
4786
* Typedef [ArrayPtr](../../../system/arrayptr/)
4887
* Typedef [SharedPtr](../../../system/sharedptr/)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: FontStyleType
3+
second_title: Aspose.Slides for C++ API Reference
4+
description: Defines formatting styles that can be applied to text.
5+
type: docs
6+
weight: 5799
7+
url: /aspose.slides/fontstyletype/
8+
---
9+
## FontStyleType enum
10+
11+
12+
Defines formatting styles that can be applied to text.
13+
14+
```cpp
15+
enum class FontStyleType
16+
```
17+
18+
### Values
19+
20+
| Name | Value | Description |
21+
| --- | --- | --- |
22+
| Regular | 0 | Standard text. |
23+
| Bold | 1 | Bold text. |
24+
| Italic | 2 | Italic text. |
25+
| Underline | 4 | Underlined text. |
26+
| Strikeout | 8 | Text crossed out with a horizontal line. |
27+
28+
## See Also
29+
30+
* Namespace [Aspose::Slides](../)
31+
* Library [Aspose.Slides](../../)

content/cpp/english/aspose.slides/fontsubstcondition/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: FontSubstCondition
33
second_title: Aspose.Slides for C++ API Reference
44
description: Represents a rule fot font substitution
55
type: docs
6-
weight: 5799
6+
weight: 5812
77
url: /aspose.slides/fontsubstcondition/
88
---
99
## FontSubstCondition enum

content/cpp/english/aspose.slides/gradientdirection/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: GradientDirection
33
second_title: Aspose.Slides for C++ API Reference
44
description: Represents the gradient style.
55
type: docs
6-
weight: 5812
6+
weight: 5825
77
url: /aspose.slides/gradientdirection/
88
---
99
## GradientDirection enum

content/cpp/english/aspose.slides/gradientshape/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: GradientShape
33
second_title: Aspose.Slides for C++ API Reference
44
description: Represents the shape of gradient fill.
55
type: docs
6-
weight: 5825
6+
weight: 5838
77
url: /aspose.slides/gradientshape/
88
---
99
## GradientShape enum

0 commit comments

Comments
 (0)