Version

SizingMode Property (TextEditorTool)

Returns an enumeration that indicates the current size of the tool. (read only)
Syntax
'Declaration
 
Public ReadOnly Property SizingMode As RibbonToolSizingMode
public RibbonToolSizingMode SizingMode {get;}
Remarks

Possible sizes include: ImageOnly, ImageAndTextNormal, ImageAndTextLarge.

Example
TextEditorTool SizingMode property

' Create TextEditorTool 
Dim textEditorTool As New TextEditorTool() 
textEditorTool.Id = "textEditor" 
textEditorTool.Caption = "textEditor" 
textEditorTool.KeyTip = "TE" 

Debug.Write("textEditorTool.SizingMode" + textEditorTool.SizingMode)
// Create TextEditorTool
TextEditorTool textEditorTool = new TextEditorTool();
textEditorTool.Id = "textEditor";
textEditorTool.Caption = "textEditor";
textEditorTool.KeyTip = "TE";

Debug.Write("textEditorTool.SizingMode" + textEditorTool.SizingMode);
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also