Click or drag to resize

PdfAdvancedSettingsUseUniscribe Property

Gets or sets a value representing whether instances RAD PDF should use Uniscribe on Windows platforms, allowing for connected / joined characters in supported fonts (e.g. Arabic).

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: (
public bool UseUniscribe { get; set; }

Property Value

Type: Boolean

The default value is false.

On non-Windows platforms, this property will throw an exception if set to true.

For more information about Uniscribe, see".

The following example overrides the default PdfIntegrationProvider to create a custom Integration Provider which uses Uniscribe, allowing for complex text layouts and scripts, like Arabic and Thai.
using System;
using System.Web;

using RadPdf.Integration;

public class CustomPdfIntegrationProvider : PdfIntegrationProvider
    public CustomPdfIntegrationProvider() : base()
        // Enable Uniscribe
        this.AdvancedSettings.UseUniscribe = true;
The following web.config file registers the above custom Integration Provider. This example assumes that CustomPdfIntegrationProvider is in the directory App_Code of your ASP.NET web application.
<?xml version="1.0"?>
    <add key="RadPdfConnectionString" value="Server=.\SQLExpress;Database=RadPdf;Trusted_Connection=Yes;"/>
    <add key="RadPdfLicenseKey" value="DEMO"/>
    <add key="RadPdfIntegrationProvider" value="CustomPdfIntegrationProvider,App_Code"/>
      <add path="RadPdf.axd" verb="GET,POST" type="RadPdf.Web.HttpHandler.PdfHttpHandler"/>
    The system.webServer element is for use with IIS 7 (and later) when Managed Pipeline Mode is set to "Integrated".
    It will be ignored in other versions of IIS.
    <validation validateIntegratedModeConfiguration="false"/>
      <add path="RadPdf.axd" verb="GET,POST" name="PdfHttpHandler" preCondition="integratedMode" type="RadPdf.Web.HttpHandler.PdfHttpHandler"/>
See Also