[]
Returns the size of the specified TextAnnotationIcon.
public static SizeF GetIconSize(TextAnnotationIcon icon, float dpiX = 72, float dpiY = 72)
Public Shared Function GetIconSize(icon As TextAnnotationIcon, Optional dpiX As Single = 72, Optional dpiY As Single = 72) As SizeF
Type | Name | Description |
---|---|---|
TextAnnotationIcon | icon | The TextAnnotationIcon value specifies the icon. |
float | dpiX | The horizontal resolution used to calculate bounds of the icon. |
float | dpiY | The vertical resolution used to calculate bounds of the icon. |
Type | Description |
---|---|
SizeF |