Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何设置word标尺? #42

Open
xlg-go opened this issue Dec 1, 2021 · 2 comments
Open

请问如何设置word标尺? #42

xlg-go opened this issue Dec 1, 2021 · 2 comments
Assignees
Labels

Comments

@xlg-go
Copy link

xlg-go commented Dec 1, 2021

把标尺设置成纸张的宽度,或者页边距的宽度。

@xlg-go xlg-go added the bug Something isn't working label Dec 1, 2021
@timxx timxx added support and removed bug Something isn't working labels Dec 1, 2021
@timxx
Copy link
Owner

timxx commented Dec 1, 2021

这个得查一下api :)

@xlg-go
Copy link
Author

xlg-go commented Dec 7, 2021

这个得查一下api :)

@timxx 您好,找了几天,貌似没找到设置word标尺的方法。
倒是找到indent缩进相关的方法,但是对于我的这种情况,貌似设置右缩进是没有用的,但设置左缩进就是可以的。
您要是方便的话,能帮我一把吗?谢谢了!!!
doc.Paragraphs.put_RightIndent(0.0)

image

c34a34bf-4ccd-460f-96c7-a54d8a608669.docx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants