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.
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.
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"
}