Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Annotations Namespace / TextAnnotation Class / GetIconSize Method
The TextAnnotationIcon value specifies the icon.
The horizontal resolution used to calculate bounds of the icon.
The vertical resolution used to calculate bounds of the icon.

In This Topic
    GetIconSize Method
    In This Topic
    Returns the size of the specified TextAnnotationIcon.
    Syntax
    'Declaration
     
    Public Shared Function GetIconSize( _
       ByVal icon As TextAnnotationIcon, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single _
    ) As System.Drawing.SizeF
    public static System.Drawing.SizeF GetIconSize( 
       TextAnnotationIcon icon,
       System.float dpiX,
       System.float dpiY
    )

    Parameters

    icon
    The TextAnnotationIcon value specifies the icon.
    dpiX
    The horizontal resolution used to calculate bounds of the icon.
    dpiY
    The vertical resolution used to calculate bounds of the icon.
    See Also