---
title: "Discussion on \"[js宏]wps演示中多顶点矩形\" | Hashnode"
description: "Discussion on \"[js宏]wps演示中多顶点矩形\". function CreateDialog_CommandButton1_Click()\n\n{\n\n    let nodesAdd=CreateDialog.SpinButton1.Value-4;\n\n    let linesAdd=nodesAdd==0?0:nodesAdd/2;\n\n    let myDocument = Application.ActivePresentation.Slides.Item(1)\n\n    let theShape=myDocument.Shapes.Ad..."
url: "https://hashnode.com/posts/jswps/66bf5dde66f6a5772d16f9fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[js宏\]wps演示中多顶点矩形](https://www.leiex.com/jswps?utm_source=hashnode&utm_medium=feed)

function CreateDialog\_CommandButton1\_Click() { let nodesAdd=CreateDialog.SpinButton1.Value-4; let linesAdd=nodesAdd==0?0:nodesAdd/2; let myDocument = Application.ActivePresentation.Slides.Item(1) let theShape=myDocument.Shapes.Ad...

Aug 16, 2024 · 1 min read · leiex.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#wps-office](https://hashnode.com/tag/wps-office)

## Written by

[兄友弟恭源赖朝](https://hashnode.com/@leyley)

@leyley

  
[View profile](https://hashnode.com/@leyley)

C++ & Java Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
