Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PointList.set Method

Module: PointList

## Definition

Sets an item of the PointList object.

Python

    set(self, index: int, point_item: Point) -> None

Parameters

> `index` int
> in Index of the Point item to set.
> `point_item` Point
> in Point item to set.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    void set(int index, Point pointItem)

Parameters

> `index` int
> in Index of the Point item to set.
> `pointItem` Point
> in Point item to set.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public void Set(int index, Point pointItem)

Parameters

> `index` int
> in Index of the Point item to set.
> `pointItem` Point
> in Point item to set.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public void set(int index, Point pointItem) throws DocumentException

Parameters

> `index` int
> in Index of the Point item to set.
> `pointItem` Point
> in Point item to set.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public func set(index: Int32, pointItem: Point) throws

Parameters

> `index` Int32
> in Index of the Point item to set.
> `pointItem` Point
> in Point item to set.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentPointList_Set (
        ID3_DOCUMENT_POINT_LIST hPointList,
        int index,
        const id3DocumentPoint * sPointItem)

Parameters

> `hPointList` ID3_DOCUMENT_POINT_LIST
> in Handle to the PointList object.
> `index` int
> in Index of the Point item to set.
> `sPointItem` const id3DocumentPoint *
> in Point item to set.

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.