Skip to main content

SpotColorInk

Version: 11.0

cete.dynamicpdf.spotcolorink

SpotColorInk​

Represents a spot color ink.

public class SpotColorInk : ColorSpace
Public Class SpotColorInk
Inherits ColorSpace

Inheritance: Object → Resource → ColorSpace → SpotColorInk

Constructors​

SpotColorInk(String, CmykColor)​

Initializes a new instance of the SpotColorInk class.

public SpotColorInk(string name, CmykColor alternateColor)
Public Sub New (name As String, alternateColor As CmykColor)

Parameters​

Name of the spot color ink to be used.

The CMYK color to be used when the device does not contain the sopt color specified.

Properties​

AlternateColor​

Gets or sets the CMYK color to be used as the alternative color.

public CmykColor AlternateColor { get; }
Public Property AlternateColor As CmykColor

Property Value​

CmykColor

Name​

Gets or sets the name of the ink to be used.

public string Name { get; }
Public Property Name As String

Property Value​

String

RequiredPdfObjects​

Gets the number of PDF objects required by the resource. (Inherited from Resource)

public int RequiredPdfObjects { get; }
Public Property RequiredPdfObjects As Int32

Property Value​

Int32

ResourceType​

Gets the type of resource. (Inherited from Resource)

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

Property Value​

ResourceType

Uid​

Gets the unique ID of the resource. (Inherited from Resource)

public long Uid { get; }
Public Property Uid As Int64

Property Value​

Int64

Methods​

Draw(DocumentWriter)​

Draws the spot color ink to the specified DocumentWriter .

public void Draw(DocumentWriter writer)
Sub Draw(writer As DocumentWriter)

Parameters​

DocumentWriter to take the spot color ink.

DrawColorSpace(DocumentWriter)​

Draws the color space to the specified DocumentWriter .

public void DrawColorSpace(DocumentWriter writer)
Sub DrawColorSpace(writer As DocumentWriter)

Parameters​

DocumentWriter to take the color space.

DrawName(PageWriter)​

Draws the spot color ink name to the specified PageWriter .

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

Parameters​

PageWriter to take the spot color ink name.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

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

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current 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