XMLExcelReport_RU.insertValueToSectionNoOverflow Method [AX 2012]
Inserts a value into the document, preventing height overflow.
Syntax
protected void insertValueToSectionNoOverflow(
Bookmark _bookmark,
anytype _value,
[real _fontSizeReductionStep])
Run On
Called
Parameters
- _bookmark
Type: Bookmark Extended Data Type
An Excel bookmark where the value should be inserted.
- _value
Type: anytype
A string value to insert.
- _fontSizeReductionStep
Type: real
A negative real value that determines the size of each step that is used to reduce the font size.
Remarks
This method prevents height overflow for long text strings that are pasted into cells that wrap text by reducing the font size by one font size reduction step at a time.
The _fontSizeReductionStep value must be negative; otherwise, it will be replaced by the standard value of -1.0.