AddContentHeaderAction Class

Definition

An action class which specifies adding a content header to the document.

public class AddContentHeaderAction : Microsoft.InformationProtection.Policy.Actions.Action
type AddContentHeaderAction = class
    inherit Action
Public Class AddContentHeaderAction
Inherits Action
Inheritance
AddContentHeaderAction

Constructors

AddContentHeaderAction(String, String, String, String, Int32, String, ContentMarkAlignment, Int32)

Creates a new AddContentHeaderAction. This constructor is only public to allow using this class in code testing

Properties

ActionType

The type of derived action this base class can be cast to

(Inherited from Action)
Alignment

the ContentMarkAlignment of the header.

FontColor

The font color, used to display the content header, as a string (e.g."#000000").

FontName

The font name, used to display the content header, default value if not set by policy Calibri.

FontSize

The font size, used to display the content header.

Id

The id of the action

(Inherited from Action)
Margin

The margin of the header from the top of the document.

Text

The text that's meant to go into the content header.

UIElementName

An API used to mark the content header element. This should be the name that should be used for the UI element that holds the content header.

Applies to