Version

IUIElementImageAndTextProvider Interface Members

The following tables list the members exposed by IUIElementImageAndTextProvider.

Public Methods
 NameDescription
 MethodAdjustImageDisplayRectAdjusts the image's rect for special cases (e.g. a button down shift)  
 MethodAdjustTextDisplayRectAdjusts the text's rect for special cases (e.g. a button down shift)  
 MethodGetImageGets the image to be displayed.  
 MethodGetImagePaddingReturns the padding around the image.  
 MethodGetPaddingReturns the padding around the entire element.  
 MethodGetScaledImageSizeMaximum size for a scaled image.  
 MethodGetTextGets the text to display  
 MethodGetTextPaddingReturns the padding around the text.  
 MethodGetTextPlacementDetermines how the text is placed in relation to the image.  
 MethodHotkeyPrefixDetermines how mnemonics in the text are rendered.  
 MethodIsMultiLineIndicates if multiple lines of text are to be rendered.  
 MethodIsVerticalReturns true if the text is to be displayed vertically  
 MethodReserveShadowSpaceDetermines whether space should be reserved for a shadow of the image.  
 MethodRotateTextIndicates whether the text should be rotated 180 degrees. Note, this rotation is in addition to that caused by setting Vertical to true.  
 MethodScaleImageIndicates if the image should be scaled.  
 MethodShadowImageDetermines whether the image should be shadowed.  
 MethodUseTextPlacementDetermines whether the text placement is used to position the text and image elements.  
 MethodWrapTextReturns true if the text is to be wrapped  
See Also