Skip to main content

XtraPdfViewerLocalizer.GetString(XtraPdfViewerStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.XtraPdfViewer.Localization

Assembly: DevExpress.XtraPdfViewer.v23.2.dll

NuGet Package: DevExpress.Win.PdfViewer

Declaration

public static string GetString(
    XtraPdfViewerStringId id
)

Parameters

Name Type Description
id XtraPdfViewerStringId

An XtraPdfViewerStringId enumeration value, identifying the string to localize.

Returns

Type Description
String

A String value, corresponding to the specified identifier.

Remarks

The PDF Viewer supports localization, so that you can substitute the default strings displayed within context menus with your own equivalents (e.g., in your native language). Items that can be localized are listed in the XtraPdfViewerStringId enumeration.

To localize the default resources of a PDF Viewer, override the GetString method in a XtraPdfViewerLocalizer class descendant.

For more information, refer to Localization.

See Also