UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

24 lines (23 loc) 991 B
/** * DevExpress HTML/JS Reporting (designer\actions\fitBoundsToTextAction.d.ts) * Version: 20.2.13 * Build date: Apr 10, 2023 * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { XRTextControlSurfaceBase } from '../controls/xrTextControl'; import { TextElementSizeHelper } from '../helpers/_textElementSizeHelper'; import { ElementViewModel } from '@devexpress/analytics-core/analytics-elements'; export declare class FitBoundsToTextAction { _control: XRTextControlSurfaceBase<ElementViewModel>; textElementHelper: TextElementSizeHelper; private _getNewRectForVetical; private _findWidth; private _getNewRectForHorizontal; private _getTextContainerSize; private _getTextHeight; fitWidth(): void; fitHeight(): void; fitBounds(): void; constructor(_control: XRTextControlSurfaceBase<ElementViewModel>, textElementHelper?: TextElementSizeHelper); }