PdfColorTryFromName Method
Attempts to create a color from a named web color
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
public static bool TryFromName(
string name,
out PdfColor color
)
- name String
- The color name
- color PdfColor
- When this method returns, contains the color if the operation succeeded; otherwise, null
Booleantrue if the color name was resolved; otherwise, false