SvgShape

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ISvgShape

public final class SvgShape implements ISvgShape

Represents options for SVG shape.

Methods

Method Description
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:

Parameter Type Description
eventType int Type of event.
handler java.lang.String Javascript 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:

Parameter Type Description
value java.lang.String