Skip to main content

PrintingLocalizer.GetString(PrintingStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v14.2.dll

#Declaration

public static string GetString(
    PrintingStringId id
)

#Parameters

Name Type Description
id PrintingStringId

A PrintingStringId enumeration value identifying the string to localize.

#Returns

Type Description
String

A String corresponding to the specified identifier.

#Remarks

The Document Viewer supports localization, i.e. you can substitute strings displayed within default context menus with your own equivalents (for example, in your native language). Items that can be localized are enumerated by the PrintingStringId enumeration.

To localize the Document Preview resources, you need to override the GetString method in a PrintingLocalizer class descendant.

For more information, see Localization.

See Also