The following tables list the members exposed by IUIElementImageAndTextProvider.
Name | Description | |
---|---|---|
AdjustImageDisplayRect | Adjusts the image's rect for special cases (e.g. a button down shift) | |
AdjustTextDisplayRect | Adjusts the text's rect for special cases (e.g. a button down shift) | |
GetImage | Gets the image to be displayed. | |
GetImagePadding | Returns the padding around the image. | |
GetPadding | Returns the padding around the entire element. | |
GetScaledImageSize | Maximum size for a scaled image. | |
GetText | Gets the text to display | |
GetTextPadding | Returns the padding around the text. | |
GetTextPlacement | Determines how the text is placed in relation to the image. | |
HotkeyPrefix | Determines how mnemonics in the text are rendered. | |
IsMultiLine | Indicates if multiple lines of text are to be rendered. | |
IsVertical | Returns true if the text is to be displayed vertically | |
ReserveShadowSpace | Determines whether space should be reserved for a shadow of the image. | |
RotateText | Indicates whether the text should be rotated 180 degrees. Note, this rotation is in addition to that caused by setting Vertical to true. | |
ScaleImage | Indicates if the image should be scaled. | |
ShadowImage | Determines whether the image should be shadowed. | |
UseTextPlacement | Determines whether the text placement is used to position the text and image elements. | |
WrapText | Returns true if the text is to be wrapped |