Word VBA 复选框,包含需要构建的图像的链接

发布于 2024-08-20 13:43:38 字数 182 浏览 2 评论 0原文

我在处理包含 Word 中复选框的表格时遇到问题。 我正在使用一个包含 10 个复选框的表。这张桌子旁边有一张图片。 当用户选中复选框之一时,必须向图像添加一些内容,即图像被进一步完成。 然而,检查复选框的顺序不是固定或定义的,因此有很多不同的组合。 有没有办法将附加部分添加到链接到复选框的原始图像中?或者这种方式对于 Word 来说太先进了?

I am having problems with a table containing checkboxes in Word.
I am working with a table containing 10 checkboxes. Next to this table, there is an image.
When the user checks one of the checkboxes, something has to be added to the image, i.e. the image is further completed.
However, the order of checking the checkboxes is not fixed or defined, so there are lots of different combinations.
Is there a way to add the additional parts to the original image, linked to the checkboxes? Or is this way too advanced for Word?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠魁 2024-08-27 13:43:38

Word 没有这种类型的内置图像功能。复选框的状态组合太多,无法提前为每个状态制作图像。一种可能是找到 dll 或 ocx 并以编程方式绘制图像(高级)。另一种方法是在 Photoshop 中编辑图像,并使用透明背景将其剪切为 10 个单独的文件。然后,您可以在显示图像的任何位置添加和删除图层,并使用 vb 控制 z 顺序。

Word doesn't have this type of built-in functionality with images. There are too many state combinations for the checkboxes to make an image for each state in advance. One possibility could be to find a dll or ocx and draw the image programatically (advanced). Another would be to edit your image in photoshop and cut it up into 10 separate files using a transparent background. You could then add and remove layers to wherever you are displaying your image and control the z-ordering with vb.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文