SvgShape

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ISvgShape

public final class SvgShape implements ISvgShape

Represents options for SVG shape.

Methods

MethodDescription
setEventHandler(int eventType, String handler)Sets event handler for the shape
getId()Gets shape id
setId(String value)Gets shape id

setEventHandler(int eventType, String handler)

public final void setEventHandler(int eventType, String handler)

Sets event handler for the shape

Parameters:

ParameterTypeDescription
eventTypeintType of event.
handlerjava.lang.StringJavascript function to handle event. Null value removes handler.

getId()

public final String getId()

Gets shape id

Returns: java.lang.String

setId(String value)

public final void setId(String value)

Gets shape id

Parameters:

ParameterTypeDescription
valuejava.lang.String