Version

GetGlyphSize(GlyphType,EmbeddableEditorOwnerBase,Object,ControlUIElementBase) Method

Attempts to determine the glyph size for an element by walking up the parent chain and looking for the editor element or the ControlElement and calling GetGlyphInfo.
Syntax
'Declaration
 
Public Overloads Shared Function GetGlyphSize( _
   ByVal glyphType As GlyphType, _
   ByVal embeddableEditorOwnerBase As EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object, _
   ByVal controlUIelementBase As ControlUIElementBase _
) As Size

Parameters

glyphType
The type of glyph.
embeddableEditorOwnerBase
The EmbeddableEditorOwnerBase.
ownerContext
The owner context.
controlUIelementBase
The ControlUIelementBase.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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