XmlMappedRange.Justify Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rearranges the text in an XmlMappedRange control so that it fills the range evenly.
public:
System::Object ^ Justify();
public object Justify ();
abstract member Justify : unit -> obj
Public Function Justify () As Object
Returns
Remarks
If the range is not large enough, Microsoft Office Excel displays a message telling you that text extends below the range. If you click the OK button, justified text replaces the contents in cells that extend beyond the selected range. To prevent this message from appearing, set the Microsoft.Office.Interop.Excel._Application.DisplayAlerts* property to false
. After you set this property, text always replaces the contents in cells below the XmlMappedRange control.