Table of Contents

Property TreatArgbZeroAsEmptyColor

Namespace
MigraDoc
Assembly
MigraDoc.DocumentObjectModel.dll

TreatArgbZeroAsEmptyColor

Gets or sets a flag that defines what new Color(0) do. If false, which is the default value, the RGB color black with opacity 0 is created. If true, Color.Empty is created for backward compatibility to older code using the MigraDoc Document Object Model.

public static bool TreatArgbZeroAsEmptyColor { get; set; }

Property Value

bool