Skip to main content

PreviewLocalizer.GetString(PreviewStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.XtraPrinting.Localization

Assembly: DevExpress.Data.v21.2.dll


public static string GetString(
    PreviewStringId id


Name Type Description
id PreviewStringId

A PreviewStringId enumeration value, identifying the string to localize.


Type Description

A String value, corresponding to the specified identifier.


The XtraPrinting Library 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 PreviewStringId enumeration.

To localize the default resources of the XtraPrinting Library, override the GetString method in a PreviewLocalizer class descendant.

For more information, refer to Localization.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetString(PreviewStringId) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also