Class
PdfFormatHelper

Provides helper methods for PDF format processing.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class PdfFormatHelper

Inheritance: objectPdfFormatHelper

Constructors

PdfFormatHelper()

Declaration

cs-api-definition
public PdfFormatHelper()

Methods

FormatColorHighlight(Color)

Formats the specified color for highlighting in a PDF document.

Declaration

cs-api-definition
public static string FormatColorHighlight(Color color)

Parameters

color

Color

The color to be formatted for highlighting.

Returns

string

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

FormatColorNonHighlight(Color)

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

Declaration

cs-api-definition
public static string FormatColorNonHighlight(Color color)

Parameters

color

Color

The Color to be formatted.

Returns

string

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