Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetElementStyle() As ElementStyle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementWindowless Dim value As ElementStyle value = instance.GetElementStyle() |
C# | |
---|---|
public virtual ElementStyle GetElementStyle() |
Return Value
ElementStyle object containing the style for the elementUse this method to return an ElementStyle object that contains the settings for the element. The ElementStyle object provides settings for appearance, including colors, alignment, and margins.
For more information, see the ElementStyle class.
To specify the ElementStyle object for an element, use the SetElementStyle method.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8