devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
20 lines (19 loc) • 865 B
TypeScript
/**
* DevExpress HTML/JS Reporting (designer\actions\fitTextToBoundsAction.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 FitTextToBoundsAction {
_control: XRTextControlSurfaceBase<ElementViewModel>;
textElementHelper: TextElementSizeHelper;
private _getTextSide;
private _calculateFont;
private _getAvailableFont;
fit(): void;
constructor(_control: XRTextControlSurfaceBase<ElementViewModel>, textElementHelper?: TextElementSizeHelper);
}