VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.Annotations Namespace / PdfPolygonAnnotationAppearanceGenerator Class / CalculateAnnotationRectangle(PdfAnnotation,PointF[]) Method
Syntax Requirements SeeAlso
In This Topic
    CalculateAnnotationRectangle(PdfAnnotation,PointF[]) Method (PdfPolygonAnnotationAppearanceGenerator)
    In This Topic
    Calculates the annotation rectangle.
    Syntax
    'Declaration
    
    Protected Overrides Function CalculateAnnotationRectangle( _
    ByVal annotation
    The annotation.
    As PdfAnnotation, _
    ByVal annotationReferencePoints
    Reference points of the annotation.
    () As System.Drawing.PointF _
    ) As System.Drawing.RectangleF
    protected override System.Drawing.RectangleF CalculateAnnotationRectangle(
    PdfAnnotation annotation,
    System.Drawing.PointF[] annotationReferencePoints
    )
    protected: System.Drawing.RectangleF* CalculateAnnotationRectangle(
    PdfAnnotation* annotation,
    System.Drawing.PointF[]* annotationReferencePoints
    ); override
    protected:
    System.Drawing.RectangleF^ CalculateAnnotationRectangle(
    PdfAnnotation^ annotation,
    array<System.Drawing.PointF>^ annotationReferencePoints
    ); override

    Parameters

    annotation
    The annotation.
    annotationReferencePoints
    Reference points of the annotation.

    Return Value

    Calculated annotation rectangle.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also