VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfLinesAnnotationView Class / GetAuthorBoundingBox Methods / GetAuthorBoundingBox(Point,Size,Double) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    GetAuthorBoundingBox(Point,Size,Double) Method (WpfLinesAnnotationView)
    In This Topic
    Returns an author bounding box, in the image space, of annotation.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function GetAuthorBoundingBox( _
    ByVal location
    Location, in device-independent pixels (1/96th inch), of annotation.
    As System.Windows.Point, _
    ByVal size
    Size, in device-independent pixels (1/96th inch), of annotation
    As System.Windows.Size, _
    ByVal rotation
    Rotation, in degrees, of annotation.
    As Double _
    ) As System.Windows.Rect
    public override System.Windows.Rect GetAuthorBoundingBox(
    System.Windows.Point location,
    System.Windows.Size size,
    double rotation
    )
    public: System.Windows.Rect* GetAuthorBoundingBox(
    System.Windows.Point location,
    System.Windows.Size* size,
    double rotation
    ); override
    public:
    System.Windows.Rect^ GetAuthorBoundingBox(
    System.Windows.Point location,
    System.Windows.Size^ size,
    double rotation
    ); override

    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