Class CommentDefinition
OptimaJet.Workflow.Core.Model.CommentDefinition
Represents a formatted text comment placed on the process scheme canvas in Workflow Designer and stored in ProcessDefinition.Comments.
Namespace: OptimaJet.Workflow.Core.Model
public class CommentDefinition : BaseDefinitionType Hierarchy
- BaseDefinition
- CommentDefinition Current type
Properties
public string Value { get; set; } #Gets or sets the text displayed for the comment on the process scheme canvas in Workflow Designer.
public bool BoldText { get; set; } #Gets or sets a value indicating whether CommentDefinition.Value is rendered in bold.
public bool ItalicText { get; set; } #Gets or sets a value indicating whether CommentDefinition.Value is rendered in italics.
public bool UnderlineText { get; set; } #Gets or sets a value indicating whether CommentDefinition.Value is underlined.
public bool LineThroughText { get; set; } #Gets or sets a value indicating whether CommentDefinition.Value is struck through.
public int FontSize { get; set; } #Gets or sets the font size, in pixels, used to render CommentDefinition.Value.
public double Rotation { get; set; } #Gets or sets the rotation angle, in degrees, applied to CommentDefinition.Value.
public double Width { get; set; } #Gets or sets the width, in pixels, of the area used to render CommentDefinition.Value.
public string Alignment { get; set; } #Gets or sets the horizontal alignment used to render CommentDefinition.Value.
Methods
public CommentDefinition Clone() #Creates a copy of this comment definition.
Returns
Type
Description
CommentDefinitionA new CommentDefinition with the same comment data and a cloned BaseDefinition.DesignerSettings value.
Exceptions
Type
Description
NullReferenceException