PdfColorTryFromName Method
Attempts to create a color from a named web color
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.10.0
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