docx icon indicating copy to clipboard operation
docx copied to clipboard

Can i set the document grid using the api?

Open frcoo opened this issue 5 years ago • 2 comments

Can i set the document grid through property like 'docGrid' using the api? I already know that i can pass options like margins = {}, size = {}, properties= {}, children = [] to arguments of the 'addSection' function, but i did't find a way to specify option like 'docGrid' , and i find there are related apis such as 'DocumentGrid', 'DocGridAttributes', but i don't know how to use them, please help.

frcoo avatar Jul 22 '20 02:07 frcoo

At the moment no, sorry!

Is this the docGrid?

https://c-rex.net/projects/samples/ooxml/e1/Part4/OOXML_P4_DOCX_docGrid_topic_ID0EHU5S.html

dolanmiu avatar Jul 29 '20 01:07 dolanmiu

Yes, it is. Many thanks anyway.

frcoo avatar Jul 31 '20 02:07 frcoo