'Declaration Public Overloads Shared Function CalculateImageAndTextSize( _ ByVal imgSize As Size, _ ByVal textSize As Size, _ ByVal imagePadding As Size, _ ByVal textPadding As Size, _ ByVal padding As Size, _ ByVal borderStyle As UIElementBorderStyle, _ ByVal borderSides As Border3DSide, _ ByVal textPlacement As TextPlacement _ ) As Size
public static Size CalculateImageAndTextSize( Size imgSize, Size textSize, Size imagePadding, Size textPadding, Size padding, UIElementBorderStyle borderStyle, Border3DSide borderSides, TextPlacement textPlacement )
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