VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.UI Namespace / AnnotationView Class / GetAuthorBoundingBox Methods / GetAuthorBoundingBox(PointF,SizeF,Single) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    GetAuthorBoundingBox(PointF,SizeF,Single) Method (AnnotationView)
    In This Topic
    Returns an author bounding box, in the image space, of annotation.
    Syntax
    'Declaration
    
    Public Overloads Overridable Function GetAuthorBoundingBox( _
    ByVal location
    Location, in device-independent pixels (1/96th inch), of annotation.
    As System.Drawing.PointF, _
    ByVal size
    Size, in device-independent pixels (1/96th inch), of annotation
    As System.Drawing.SizeF, _
    ByVal rotation
    Rotation, in degrees, of annotation.
    As Single _
    ) As System.Drawing.RectangleF
    public virtual System.Drawing.RectangleF GetAuthorBoundingBox(
    System.Drawing.PointF location,
    System.Drawing.SizeF size,
    float rotation
    )
    public: virtual System.Drawing.RectangleF* GetAuthorBoundingBox(
    System.Drawing.PointF location,
    System.Drawing.SizeF* size,
    float rotation
    )
    public:
    virtual System.Drawing.RectangleF^ GetAuthorBoundingBox(
    System.Drawing.PointF location,
    System.Drawing.SizeF^ size,
    float rotation
    )

    Parameters

    location
    Location, in device-independent pixels (1/96th inch), of annotation.
    size
    Size, in device-independent pixels (1/96th inch), of annotation
    rotation
    Rotation, in degrees, of annotation.

    Return Value

    An author bounding box, in the image space, of annotation.
    Remarks

    The author bounding box is used when annotation is transforming, also it is used when annotation is selected.

    In most cases the author bounding box matches the bounding box of annotation. The author can override this method and change the author bounding box if necessary, for example, bounding box can be inflated.

    Requirements

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

    See Also