get_InkEffectImages()
Contents
[
Hide
]Ink::get_InkEffectImages() method
Gets the collection of custom images used to simulate visual effects for ink brushes. These images are used when rendering ink with specific InkEffectType values, such as Galaxy, Rainbow, etc. By providing your own images, you can control how each ink effect appears.
static System::SharedPtr<System::Collections::Generic::IDictionary<InkEffectType, System::SharedPtr<IImage>>> Aspose::Slides::Ink::Ink::get_InkEffectImages()
Remarks
This property allows replacing the default ink effect textures with user-defined ones, which is particularly useful when default assets are restricted by licensing or unavailable at runtime.
Each entry in the dictionary must associate an InkEffectType value with a corresponding IImage object (e.g., Bitmap, or an Aspose image interface).
System::SharedPtr<IImage> image = Images::FromFile(u"image.png");
Ink::get_InkEffectImages()->Add(InkEffectType::Galaxy, image);
See Also
- Enum InkEffectType
- Typedef SharedPtr
- Class IDictionary
- Class IImage
- Class Ink
- Namespace Aspose::Slides::Ink
- Library Aspose.Slides