Compartilhar via


DisplayFormat Members

Include Protected Members
Include Inherited Members

Represents the display settings for an associated Range object.

The DisplayFormat type exposes the following members.

Properties

  Name Description
Public property AddIndent Gets a value that indicates if Microsoft Excel automatically indents text of the associated Range object when the text alignment in a cell is set to equal distribution (either horizontally or vertically), as it is displayed in the current user interface.
Public property Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object.
Public property Borders Gets a Borders object that represents the borders of the associated Range object as it is displayed in the current user interface.
Public property Characters Gets a Characters object that represents a range of characters within the text of the associated Range object as it is displayed in the current user interface.
Public property Creator Gets a 32-bit integer that indicates the application in which this object was created.
Public property Font Gets a Font object that represents the font of the associated Range as it is displayed in the current user interface.
Public property FormulaHidden Gets a value that indicates if the formula of the associated Range object is hidden when the worksheet is protected as it is displayed in the current user interface.
Public property HorizontalAlignment Gets a value that represents the horizontal alignment of the associated Range object as it is displayed in the current user interface.
Public property IndentLevel Gets a value that represents the indent level of the associated Range object as it is displayed in the current user interface.
Public property Interior Gets an Interior object that represents the interior of the associated Range object as it is displayed in the current user interface.
Public property Locked Gets a value that indicates if the associated Range object is locked as it is displayed in the current user interface.
Public property MergeCells Gets a value that indicates if the associated Range object contains merged cells as it is displayed in the current user interface.
Public property NumberFormat Gets a value that represents the format code of the associated Range object as it is displayed in the current user interface.
Public property NumberFormatLocal Gets a value that represents the format code of the associated Range as a string in the language of the user as it is displayed in the current user interface.
Public property Orientation Gets a value that represents the text orientation of the associated Range object as it is displayed in the current user interface.
Public property Parent Gets the parent object for the specified object.
Public property ReadingOrder Gets the reading order of the associated Range object as it is displayed in the current user interface.
Public property ShrinkToFit Gets a value that indicates if Microsoft Excel automatically shrinks text to fit in the available column width of the associated Range object as it is displayed in the current user interface.
Public property Style Gets a value, containing a Style object, that represents the style of the associated Range object as it is displayed in the current user interface.
Public property VerticalAlignment Gets a value that represents the vertical alignment of the associated Range object as it is displayed in the current user interface.
Public property WrapText Gets a value that indicates if Microsoft Excel wraps the text of the associated Range object as it is displayed in the current user interface.

Top

See Also

Reference

DisplayFormat Interface

Microsoft.Office.Interop.Excel Namespace