Skip to main content

SpotColor

Version: 8.0

cete.dynamicpdf.spotcolor

SpotColor​

Represents a spot color.

public class SpotColor : Color
Public Class SpotColor
Inherits Color

Inheritance: Object → Color → SpotColor

Licensing​

This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator for .NET Professional Edition
  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Professional Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • DynamicPDF ReportWriter for .NET Professional Edition
  • DynamicPDF ReportWriter for .NET Enterprise Edition
  • DynamicPDF Core Suite for .NET Professional Edition
  • DynamicPDF Core Suite for .NET Enterprise Edition

Remarks​

See the Colors topic for more on Spot Colors colors.

Constructors​

SpotColor(Single, SpotColorInk)​

Initializes a new instance of the SpotColor class.

public SpotColor(float tint, SpotColorInk ink)
Public Sub New (tint As Single, ink As SpotColorInk)

Parameters​

Value between 0 and 1 specifying a percentage of the color to come through.

The SpotColorInk to be used.

Properties​

ColorSpace​

Gets the color space for the color.

public ColorSpace ColorSpace { get; }
Public Property ColorSpace As ColorSpace

Property Value​

ColorSpace

Tint​

Gets the color space for the color.

public float Tint { get; }
Public Property Tint As Single

Property Value​

Single

Methods​

DrawFill(OperatorWriter)​

Draws the color data to the given OperatorWriter object. (Inherited from Color)

public void DrawFill(OperatorWriter writer)
Sub DrawFill(writer As OperatorWriter)

Parameters​

OperatorWriter object to receive the color data.

DrawFill(PageWriter)​

Draws the color data to the given PageWriter object.

public void DrawFill(PageWriter writer)
Sub DrawFill(writer As PageWriter)

Parameters​

PageWriter object to receive the color data.

DrawStroke(OperatorWriter)​

Draws the color data to the given OperatorWriter object. (Inherited from Color)

public void DrawStroke(OperatorWriter writer)
Sub DrawStroke(writer As OperatorWriter)

Parameters​

OperatorWriter object to receive the color data.

DrawStroke(PageWriter)​

Draws the color data to the given PageWriter object.

public void DrawStroke(PageWriter writer)
Sub DrawStroke(writer As PageWriter)

Parameters​

PageWriter object to receive the color data.

Equals(Object)​

Tests equality of colors.

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

Object to compare to the current Color .

Returns​

true if the two colors are equal

GetHashCode()​

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Color object.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF