public class Ink extends GraphicalObject implements IInk
Represents an ink object on a slide.
| Modifier and Type | Method and Description |
|---|---|
static com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.Integer,IImage> |
getInkEffectImages()
Gets the collection of custom images used to simulate visual effects for ink brushes.
|
IInkTrace[] |
getTraces()
Gets all traces containing in the IInk element
IInkTrace. |
getGraphicalObjectLockaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvgequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphicalObjectLockaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvggetSlidegetPresentationgetHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOverpublic final IInkTrace[] getTraces()
Gets all traces containing in the IInk element IInkTrace.
Read-only.
Example:Presentation pres = new Presentation("pres.pptx"); try { IInk ink = (IInk)pres.getSlides().get_Item(0).getShapes().get_Item(0); IInkTrace[] traces = ink.getTraces(); } finally { if (pres != null) pres.dispose(); }
public static com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.Integer,IImage> getInkEffectImages()
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.
IImage image = Images.fromFile("image.png"); ink.getInkEffectImages().addItem(InkEffectType.Galaxy, image);
InkEffectType value with a corresponding
IImage object (e.g., Bitmap, or an Aspose image interface).
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.