Skip to content

Commit bbc450c

Browse files
Aspose.Slides for C++ 24.9 API Reference
1 parent 1075a3b commit bbc450c

File tree

20 files changed

+205
-59
lines changed

20 files changed

+205
-59
lines changed

content/cpp/english/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Aspose.Slides for C++ API Reference (version 24.7)
2+
title: Aspose.Slides for C++ API Reference (version 24.9)
33
type: docs
44
weight: 12
55
url: /

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ enum class EffectType
2222
| Appear | 0 | |
2323
| CurveUpDown | 1 | |
2424
| Ascend | 2 | |
25+
| FloatUp | 2 | |
2526
| Blast | 3 | |
2627
| Blinds | 4 | |
2728
| Blink | 5 | |
@@ -54,6 +55,7 @@ enum class EffectType
5455
| Darken | 32 | |
5556
| Desaturate | 33 | |
5657
| Descend | 34 | |
58+
| FloatDown | 34 | |
5759
| Diamond | 35 | |
5860
| Dissolve | 36 | |
5961
| EaseInOut | 37 | |

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Returns the app version. Read-only [System::String](../../../system/string/).
1515
virtual System::String Aspose::Slides::IDocumentProperties::get_AppVersion()=0
1616
```
1717

18+
## Remarks
19+
20+
21+
The content of this element shall be in the form XX.YYYY, where X and Y represent numerical values; otherwise, the document shall be considered non-conformant. [Aspose.Slides](../../) represents its version in the format XX.YYZZ, where: XX - major version YY - minor version ZZ - patch version For example, the value 23.0105 means [Aspose.Slides](../../) version 23.1.5.
1822
## See Also
1923

2024
* Class [String](../../../system/string/)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class IPictureFillFormat : public Aspose::Slides::IFillParamSource
1919
2020
| Method | Description |
2121
| --- | --- |
22+
| virtual **bool** [CompressImage](./compressimage/)(**bool**, **float**) | Compresses the image by reducing its size based on the shape size and specified resolution. Optionally, it also deletes cropped areas. |
2223
| virtual [System::SharedPtr](../../system/sharedptr/)\<[IPPImage](../ippimage/)\> [DeletePictureCroppedAreas](./deletepicturecroppedareas/)() | Delete cropped areas of the fill [Picture](../picture/). |
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. |
@@ -38,7 +39,7 @@ class IPictureFillFormat : public Aspose::Slides::IFillParamSource
3839
| virtual **float** [get_StretchOffsetRight](./get_stretchoffsetright/)() | Returns right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read **float**. |
3940
| virtual **float** [get_StretchOffsetTop](./get_stretchoffsettop/)() | Returns top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read **float**. |
4041
| virtual [RectangleAlignment](../rectanglealignment/) [get_TileAlignment](./get_tilealignment/)() | Returns how the texture is aligned within the shape. This setting controls the starting point of the texture pattern and how it repeats across the shape. Read [RectangleAlignment](../rectanglealignment/). |
41-
| virtual [Aspose::Slides::TileFlip](../tileflip/) [get_TileFlip](./get_tileflip/)() | Flips the texture tile around its horizontal, vertical or both axis. Read [TileFlip](../tileflip/). |
42+
| virtual [Aspose::Slides::TileFlip](../tileflip/) [get_TileFlip](./get_tileflip/)() | Flips the texture tile around its horizontal, vertical or both axis. Read [Slides::TileFlip](../tileflip/). |
4243
| virtual **float** [get_TileOffsetX](./get_tileoffsetx/)() | Returns the horizontal offset of the texture from the shape's origin in points. A positive value moves the texture to the right, while a negative value moves it to the left. Read **float**. |
4344
| virtual **float** [get_TileOffsetY](./get_tileoffsety/)() | Returns the vertical offset of the texture from the shape's origin in points. A positive value moves the texture down, while a negative value moves it up. Read **float**. |
4445
| virtual **float** [get_TileScaleX](./get_tilescalex/)() | Returns the horizontal scale for the texture fill as a percentage. Read **float**. |
@@ -69,7 +70,7 @@ class IPictureFillFormat : public Aspose::Slides::IFillParamSource
6970
| virtual void [set_StretchOffsetRight](./set_stretchoffsetright/)(**float**) | Sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Write **float**. |
7071
| virtual void [set_StretchOffsetTop](./set_stretchoffsettop/)(**float**) | Sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape's bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Write **float**. |
7172
| virtual void [set_TileAlignment](./set_tilealignment/)([RectangleAlignment](../rectanglealignment/)) | Sets how the texture is aligned within the shape. This setting controls the starting point of the texture pattern and how it repeats across the shape. Write [RectangleAlignment](../rectanglealignment/). |
72-
| virtual void [set_TileFlip](./set_tileflip/)([Aspose::Slides::TileFlip](../tileflip/)) | Flips the texture tile around its horizontal, vertical or both axis. Write [TileFlip](../tileflip/). |
73+
| virtual void [set_TileFlip](./set_tileflip/)([Aspose::Slides::TileFlip](../tileflip/)) | Flips the texture tile around its horizontal, vertical or both axis. Write [Slides::TileFlip](../tileflip/). |
7374
| virtual void [set_TileOffsetX](./set_tileoffsetx/)(**float**) | Sets the horizontal offset of the texture from the shape's origin in points. A positive value moves the texture to the right, while a negative value moves it to the left. Write **float**. |
7475
| virtual void [set_TileOffsetY](./set_tileoffsety/)(**float**) | Sets the vertical offset of the texture from the shape's origin in points. A positive value moves the texture down, while a negative value moves it up. Write **float**. |
7576
| virtual void [set_TileScaleX](./set_tilescalex/)(**float**) | Sets the horizontal scale for the texture fill as a percentage. Write **float**. |
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: CompressImage()
3+
second_title: Aspose.Slides for C++ API Reference
4+
description: Compresses the image by reducing its size based on the shape size and specified resolution. Optionally, it also deletes cropped areas.
5+
type: docs
6+
weight: 443
7+
url: /aspose.slides/ipicturefillformat/compressimage/
8+
---
9+
## IPictureFillFormat::CompressImage(bool, float) method
10+
11+
12+
Compresses the image by reducing its size based on the shape size and specified resolution. Optionally, it also deletes cropped areas.
13+
14+
```cpp
15+
virtual bool Aspose::Slides::IPictureFillFormat::CompressImage(bool deleteCroppedAreasOfImage, float resolution)=0
16+
```
17+
18+
19+
### Arguments
20+
21+
| Parameter | Type | Description |
22+
| --- | --- | --- |
23+
| deleteCroppedAreasOfImage | **bool** | If true, the method will remove the cropped areas of the image, potentially further reducing its size. |
24+
| resolution | **float** | The target resolution in DPI. This value must be positive and defines how the image will be resized. |
25+
26+
### Return Value
27+
28+
A **bool** indicating whether the image was successfully compressed. Returns ****true****
29+
## Remarks
30+
31+
32+
This method changes the image's size and resolution similar to PowerPoint's \"Picture Format -> Compress Pictures\" feature.
33+
34+
35+
if the image was resized or cropped, otherwise ****false****
36+
37+
.
38+
39+
40+
The following example demonstrates how to use the **CompressImage** method to reduce the size of an image in a presentation by setting a target resolution and removing cropped areas:
41+
```cpp
42+
[C#]
43+
using (Presentation presentation = new Presentation("demo.pptx"))
44+
{
45+
ISlide slide = presentation.Slides[0];
46+
47+
// Gets the PictureFrame
48+
IPictureFrame picFrame = slide.Shapes[0] as IPictureFrame;
49+
50+
// Compress the image with a target resolution of 150 DPI (Web resolution) and remove cropped areas
51+
bool result=picFrame.PictureFormat.CompressImage(true, 150f); // Web resolution
52+
}
53+
```
54+
55+
## See Also
56+
57+
* Class [IPictureFillFormat](../)
58+
* Namespace [Aspose::Slides](../../)
59+
* Library [Aspose.Slides](../../../)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: get_TileFlip()
33
second_title: Aspose.Slides for C++ API Reference
4-
description: Flips the texture tile around its horizontal, vertical or both axis. Read TileFlip.
4+
description: "Flips the texture tile around its horizontal, vertical or both axis. Read Slides::TileFlip."
55
type: docs
66
weight: 404
77
url: /aspose.slides/ipicturefillformat/get_tileflip/
88
---
99
## IPictureFillFormat::get_TileFlip() method
1010

1111

12-
Flips the texture tile around its horizontal, vertical or both axis. Read [TileFlip](../../tileflip/).
12+
Flips the texture tile around its horizontal, vertical or both axis. Read [Slides::TileFlip](../../tileflip/).
1313

1414
```cpp
1515
virtual Aspose::Slides::TileFlip Aspose::Slides::IPictureFillFormat::get_TileFlip()=0

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: set_TileFlip()
33
second_title: Aspose.Slides for C++ API Reference
4-
description: Flips the texture tile around its horizontal, vertical or both axis. Write TileFlip.
4+
description: "Flips the texture tile around its horizontal, vertical or both axis. Write Slides::TileFlip."
55
type: docs
66
weight: 417
77
url: /aspose.slides/ipicturefillformat/set_tileflip/
88
---
99
## IPictureFillFormat::set_TileFlip(Aspose::Slides::TileFlip) method
1010

1111

12-
Flips the texture tile around its horizontal, vertical or both axis. Write [TileFlip](../../tileflip/).
12+
Flips the texture tile around its horizontal, vertical or both axis. Write [Slides::TileFlip](../../tileflip/).
1313

1414
```cpp
1515
virtual void Aspose::Slides::IPictureFillFormat::set_TileFlip(Aspose::Slides::TileFlip value)=0

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class ISlideText : public virtual System::Object
2525
| static **bool** [Equals](../../system/object/equals/)(**float** const\&, **float** const\&) | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. |
2626
| static **bool** [Equals](../../system/object/equals/)(**double** const\&, **double** const\&) | Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. |
2727
| virtual **bool** [FastCast](../../system/object/fastcast/)(const Details::FastRttiBase\&, void **) const | For internal purposes only. |
28+
| virtual [System::String](../../system/string/) [get_CommentsText](./get_commentstext/)() | The text of the slide comments |
2829
| virtual [System::String](../../system/string/) [get_LayoutText](./get_layouttext/)() | The text on the layout page's shapes for this slide |
2930
| virtual [System::String](../../system/string/) [get_MasterText](./get_mastertext/)() | The text on the master page's shapes for this slide |
3031
| virtual [System::String](../../system/string/) [get_NotesText](./get_notestext/)() | The text on the notes page's shapes for this slide |
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: get_CommentsText()
3+
second_title: Aspose.Slides for C++ API Reference
4+
description: The text of the slide comments
5+
type: docs
6+
weight: 53
7+
url: /aspose.slides/islidetext/get_commentstext/
8+
---
9+
## ISlideText::get_CommentsText() method
10+
11+
12+
The text of the slide comments
13+
14+
```cpp
15+
virtual System::String Aspose::Slides::ISlideText::get_CommentsText()=0
16+
```
17+
18+
## Remarks
19+
20+
21+
This field is empty when the text is extracted using the Arranged mode.
22+
## See Also
23+
24+
* Class [String](../../../system/string/)
25+
* Class [ISlideText](../)
26+
* Namespace [Aspose::Slides](../../)
27+
* Library [Aspose.Slides](../../../)

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class IVideoCollection : public Aspose::Slides::IGenericCollection<System::Share
2020
| Method | Description |
2121
| --- | --- |
2222
| virtual [System::SharedPtr](../../system/sharedptr/)\<[IVideo](../ivideo/)\> [AddVideo](./addvideo/)([System::SharedPtr](../../system/sharedptr/)\<[IVideo](../ivideo/)\>) | Adds a copy of an video file from an another presentation. |
23-
| virtual [System::SharedPtr](../../system/sharedptr/)\<[IVideo](../ivideo/)\> [AddVideo](./addvideo/)([System::SharedPtr](../../system/sharedptr/)\<[System::IO::Stream](../../system.io/stream/)\>) | Creates and adds a video to a presentation from stream. |
2423
| virtual [System::SharedPtr](../../system/sharedptr/)\<[IVideo](../ivideo/)\> [AddVideo](./addvideo/)([System::SharedPtr](../../system/sharedptr/)\<[System::IO::Stream](../../system.io/stream/)\>, [LoadingStreamBehavior](../loadingstreambehavior/)) | Creates and adds a video to a presentation from stream. |
2524
| virtual [System::SharedPtr](../../system/sharedptr/)\<[IVideo](../ivideo/)\> [AddVideo](./addvideo/)([System::ArrayPtr](../../system/arrayptr/)\<**uint8_t**\>) | Creates and adds a video to a presentation from byte array. |
2625
| [iterator](../../system.collections.generic/ienumerable/iterator/) [begin](../../system.collections.generic/ienumerable/begin/)() | Gets iterator pointing to the first element (if any) of the collection. This iterator can't be used to change a referenced object because [GetEnumerator()](../../system.collections.generic/ienumerable/getenumerator/) returns a copy-object of T. |

0 commit comments

Comments
 (0)