# Class Scheme.Comment OptimaJet.Workflow.Api.Models.Scheme.Comment Comment. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record Scheme.Comment : IEquatable ``` ## Type Hierarchy - Scheme.Comment Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public Comment(string Name, Scheme.Designer DesignerSettings, string Value, bool BoldText, bool ItalicText, bool UnderlineText, bool LineThroughText, int FontSize, double Rotation, double Width, string Alignment, string? LocalizedName = null)` Comment. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Name` | `String` | The name. | | `DesignerSettings` | `Scheme.Designer` | The designer settings. | | `Value` | `String` | The value. | | `BoldText` | `Boolean` | Whether the comment text is bold. | | `ItalicText` | `Boolean` | Whether the comment text is italic. | | `UnderlineText` | `Boolean` | Whether the comment text is underlined. | | `LineThroughText` | `Boolean` | Whether the comment text has a strikethrough. | | `FontSize` | `Int32` | The font size. | | `Rotation` | `Double` | The rotation. | | `Width` | `Double` | The width. | | `Alignment` | `String` | The alignment. | | `LocalizedName` | `String` | The name localized using the request culture. | ## Properties ### `public string Name { get; init; }` The name. ### `public Scheme.Designer DesignerSettings { get; init; }` The designer settings. ### `public string Value { get; init; }` The value. ### `public bool BoldText { get; init; }` Whether the comment text is bold. ### `public bool ItalicText { get; init; }` Whether the comment text is italic. ### `public bool UnderlineText { get; init; }` Whether the comment text is underlined. ### `public bool LineThroughText { get; init; }` Whether the comment text has a strikethrough. ### `public int FontSize { get; init; }` The font size. ### `public double Rotation { get; init; }` The rotation. ### `public double Width { get; init; }` The width. ### `public string Alignment { get; init; }` The alignment. ### `public string? LocalizedName { get; init; }` The name localized using the request culture. [Previous Scheme.Command](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Command/) [Next Scheme.Condition](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Condition/)