Reputation: 986
Is it possible to set the Rule Lines options, under the View tab using the OneNote api.
I've had a look at the page and content end points but can't see anything that suggests itself.
Upvotes: 0
Views: 126
Reputation: 627
It is possible to achieve this when creating a new page via the api. If you have a template page that is ruled and use page: copyToSection the resultant page will also be ruled.
POST https://graph.microsoft.com/beta/me/notes/pages/<id>/copyToSection
Content-type: application/json
Content-length: 52
{
"id": "id-value",
"groupId": "groupId-value"
}
Upvotes: 1
Reputation: 2857
Posting Yanir's comment as an answer:
This option is currently not supported through the API. I would encourage you to submit your idea to: onenote.uservoice.com/forums/245490-onenote-developer-apis, so we can explore working on it.
Upvotes: 0