Convert a GDI color to a PDF device color.

Namespace: TallComponents.PDF.Colors
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1

Syntax

C#
public static DeviceColor Convert(
	Color gdiColor
)
Visual Basic
Public Shared Function Convert ( _
	gdiColor As Color _
) As DeviceColor

Parameters

gdiColor
Type: System.Drawing..::..Color

[Missing <param name="gdiColor"/> documentation for "M:TallComponents.PDF.Colors.DeviceColor.Convert(System.Drawing.Color)"]

Return Value

A Color or nullNothingnullptra null reference (Nothing in Visual Basic) if the gdi color is Empty.

See Also