DimensionNotationsEnabled Function
Enables exact element size (dimension notations) on the reporting surface during resize operations. The notations are based on a specified report unit (inches, millimeters, or pixels).
#Declaration
export const DimensionNotationsEnabled: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
#Parameters
Name | Type | Description |
---|---|---|
new |
boolean |
|
#Returns
Type |
---|
boolean |
#Remarks
The property’s default value is true
. The notation are based on a selected report unit:
System of Measurement | Displayed Unit | Image |
---|---|---|
Imperial system | inches | ![]() |
Metric system | millimeters | ![]() |
Screen coordinates | pixels | ![]() |
Set the property to false
to disable dimension notations during resize operations:
<script>
function onBeforeRender(s, e) {
DevExpress.Reporting.Designer.Settings.DimensionNotationsEnabled(false);
}
</script>
@{
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.ClientSideEvents(configure => configure.BeforeRender("onBeforeRender"))
.Bind(Model);
@designerRender.RenderHtml()
}