ASP.NET Core 11.1.10
Demos Support Blog Download
Show / Hide Table of Contents
PDF

Class LocaleSettings

Represents the locale settings for a report, including date and time formats and time zone.

Inheritance
System.Object
LocaleSettings
Implements
IReportDispose
System.IDisposable
Namespace: BoldReports.Web
Assembly: BoldReports.Web.dll
Syntax
public class LocaleSettings : Object, IReportDispose, IDisposable
Remarks

This class provides properties for date formats, time formats, and the time zone that can be used to apply locale-specific settings to reports. It also implements the IReportDispose interface to ensure proper disposal of resources.

Constructors

LocaleSettings()

Declaration
public LocaleSettings()

Properties

DateFormat

Gets or sets the date format to be used in reports.

Declaration
public string DateFormat { get; set; }
Property Value
Type Description
System.String

A string representing the date format.

TimeFormat

Gets or sets the time format to be used in reports.

Declaration
public string TimeFormat { get; set; }
Property Value
Type Description
System.String

A string representing the time format.

TimeZone

Gets or sets the time zone for the report data.

Declaration
public string TimeZone { get; set; }
Property Value
Type Description
System.String

A string representing the time zone.

Methods

Dispose()

Provides a mechanism for releasing unmanaged resources.

Declaration
public void Dispose()
Remarks

This method sets the properties to null, which helps to release any references to potentially large resources and ensures the object is disposed of correctly.

Implements

IReportDispose
System.IDisposable
In This Article
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
×
SEND FEEDBACK REGARDING THIS TOPIC

Please provide additional information

Please provide additional information

Please provide additional information

Please provide additional information
Please provide additional information
Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved