[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.TextAnnotation.GetIconSize

GetIconSize Method

GetIconSize(TextAnnotationIcon, float, float)

Returns the size of the specified TextAnnotationIcon.

Declaration
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
Parameters
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.

Returns
Type Description
SizeF