addContentHeaderAction resource type (deprecated)

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Caution

The Information Protection labels API is deprecated and will stop returning data on January 1, 2023. Please use the new informationProtection, sensitivityLabel, and associated resources.

Represents an action that specifies the details on the content header to be added to the information, if applicable.

Properties

Property Type Description
alignment String Possible values are: left, right, center.
fontColor String Color of the font to use for the header.
fontName String Name of the font to use for the header.
fontSize Int32 Font size to use for the header.
margin Int32 The margin of the header from the top of the document.
text String The contents of the header itself.
uiElementName String The name of the UI element where the header should be placed.

JSON representation

The following is a JSON representation of the resource.

{
  "alignment": "String",
  "fontColor": "String",
  "fontName": "String",
  "fontSize": 1024,
  "margin": 1024,
  "text": "String",
  "uiElementName": "String"
}