• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class CommentGradient

Represents gradient fill settings for a comment.

Inheritance
object
CommentGradient
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class CommentGradient

Constructors

CommentGradient()

Initializes a new instance of the CommentGradient class.

Declaration
public CommentGradient()

Properties

Color1

Specifies the first gradient color as a Color.

Declaration
public Color Color1 { get; set; }
Property Value
Type Description
Color

Color2

Specifies the second gradient color as a Color.

Declaration
public Color Color2 { get; set; }
Property Value
Type Description
Color

DarkenPercentage

Specifies the darken percentage.

Declaration
public decimal? DarkenPercentage { get; set; }
Property Value
Type Description
decimal?

GradientStops

Gets the collection of gradient stops.

Declaration
public List<CommentGradientStop> GradientStops { get; }
Property Value
Type Description
List<CommentGradientStop>

LightenPercentage

Specifies the lighten percentage.

Declaration
public decimal? LightenPercentage { get; set; }
Property Value
Type Description
decimal?

Reflected

Gets or sets whether the gradient is reflected.

Declaration
public bool Reflected { get; set; }
Property Value
Type Description
bool

Reverse

Gets or sets whether the gradient direction is reversed.

Declaration
public bool Reverse { get; set; }
Property Value
Type Description
bool

RotateWithShape

Gets or sets whether the gradient rotates with the shape.

Declaration
public bool RotateWithShape { get; set; }
Property Value
Type Description
bool

ShadingStyles

Specifies the shading style of the gradient.

Declaration
public CommentGradientShadingStyles ShadingStyles { get; set; }
Property Value
Type Description
CommentGradientShadingStyles

SpreadsheetColor1

Specifies the first gradient color.

Declaration
public SpreadsheetColor SpreadsheetColor1 { get; set; }
Property Value
Type Description
SpreadsheetColor

SpreadsheetColor2

Specifies the second gradient color.

Declaration
public SpreadsheetColor SpreadsheetColor2 { get; set; }
Property Value
Type Description
SpreadsheetColor

TransparencyFrom

Specifies the transparency at the start of the gradient.

Declaration
public decimal TransparencyFrom { get; set; }
Property Value
Type Description
decimal

TransparencyTo

Specifies the transparency at the end of the gradient.

Declaration
public decimal TransparencyTo { get; set; }
Property Value
Type Description
decimal
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX