SetPointCount Function
Changes the number of vertices (points) of a given multigon item from an Envision document currently opened in the Canvas Envision Creator app to a given new value.
SetPointCount(obj: [[[EvItem|canvas-envision-document-items.html#object-items]]], count: number): Promise<void>
Parameters
obj: EvItemAn Object item object, a multigon item from the Envision document currently opened in the Canvas Envision Creator app whose number of vertices should be set to the given new value.
If a given object item is not a multigon, the function throws an error.
count: numberA number, a given new number of vertices of the given multigon.
The valid range is from
3to100.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the number of vertices of the given multigon item in the current document has been successfully set to the given new value.
01 May 2025