New to Telerik UI for WPF? Start a free 30-day trial

Provides helper methods for PDF format processing.

Definition

Namespace:Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class PdfFormatHelper

Inheritance: objectPdfFormatHelper

Constructors

C#
public PdfFormatHelper()

Methods

Formats the specified color for highlighting in a PDF document.

C#
public static string FormatColorHighlight(Color color)
Parameters:colorColor

The color to be formatted for highlighting.

Returns:

string

A formatted representation of the specified color for use in PDF highlighting.

Formats a color for PDF output, excluding any highlight effects.

C#
public static string FormatColorNonHighlight(Color color)
Parameters:colorColor

The Color to be formatted.

Returns:

string

The formatted color as a Color object ready for use in PDF rendering.