Table of Contents

CadInputOptions.RenderForegroundColor Property

Definition

Namespace
GleamTech.DocumentUltimate
Assembly
GleamTech.DocumentUltimate.dll

Gets or sets the foreground color of the drawing when it's rendered. The default is null, which means foreground colors will be kept same as in the drawing. When set, all foreground colors will be fixed to this same color. For example, you can have a black and white or a blueprint output.

public Color? RenderForegroundColor { get; set; }

Property Value

Color?

Examples

caller

A GleamTech.Drawing.Color parameter/property can be implicitly (automatically) cast from/to other image libraries:

  • System.Drawing.Color
  • SixLabors.ImageSharp.Color, SixLabors.ImageSharp.PixelFormats
  • SkiaSharp.SKColor
  • Microsoft.Maui.Graphics.Color