Click or drag to resize

PdfWebControlCultureName Property

Gets or sets a value representing the culture name of the language used by this PdfWebControl.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public string CultureName { get; set; }

Property Value

Type: String
A predefined CultureInfo name, Name of an existing CultureInfo, or Windows-only culture name.
Exceptions
ExceptionCondition
ArgumentNullExceptionCultureName is null.
ArgumentExceptionCultureName is not a valid culture name. (Note: NET 4.0 and higher will throw a CultureNotFoundException.)
Remarks

This value is used internally with the CultureInfo(String) constructor to get the associated CultureInfo object which is used when retrieving resources from PdfWebControlResources.

This property has no effect if PdfWebControlResources is not configured and set to a custom ResourceManager.

If name is Empty, RAD PDF creates an instance of the invariant culture; this is equivalent to retrieving the name of the InvariantCulture property.

See Also