Udostępnij za pośrednictwem


XmlMappedRange.Justify Method (2007 System)

Rearranges the text in an XmlMappedRange control so that it fills the range evenly.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Function Justify As Object
'Usage
Dim instance As XmlMappedRange 
Dim returnValue As Object 

returnValue = instance.Justify()
public Object Justify()
public:
Object^ Justify()
public function Justify() : Object

Return Value

Type: System.Object

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 DisplayAlerts property to false. After you set this property, text always replaces the contents in cells below the XmlMappedRange control.

.NET Framework Security

See Also

Reference

XmlMappedRange Class

XmlMappedRange Members

Microsoft.Office.Tools.Excel Namespace