shanehoey / worddoc

Create Documentation directly from PowerShell. Simple Installation from PowerShell Gallery, and as long as you have MS Word Installed you will be creating .docx, .pdf, .html files in minutes!

Home Page:https://shanehoey.github.io/worddoc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add-wordshape nees relative and absolute parameter

shanehoey opened this issue · comments

when adding shape via add-wordshape it is relative to the current position on the document, it needs to default to absolute, and make relative options.

investigate this for relative
(Get-WordDocument).Shapes(1).RelativeVerticalPosition = 1
(Get-WordDocument).Shapes(1).RelativeHorizontalPosition = 1

investigate this for absolute
(Get-WordDocument).Shapes(1).LockAnchor = -1