AddContentHeaderAction Constructor

Definition

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

public AddContentHeaderAction (string id, string uiElementName, string text, string fontName, int fontSize, string fontColor, Microsoft.InformationProtection.Policy.ContentMarkAlignment alignment, int margin);
new Microsoft.InformationProtection.Policy.Actions.AddContentHeaderAction : string * string * string * string * int * string * Microsoft.InformationProtection.Policy.ContentMarkAlignment * int -> Microsoft.InformationProtection.Policy.Actions.AddContentHeaderAction
Public Sub New (id As String, uiElementName As String, text As String, fontName As String, fontSize As Integer, fontColor As String, alignment As ContentMarkAlignment, margin As Integer)

Parameters

id
String

The id of the action

uiElementName
String

The UIElementName

text
String

The Text

fontName
String

The FontName

fontSize
Int32

The FontSize

fontColor
String

The FontColor

margin
Int32

The Margin

Applies to