ImageGear .NET v25.2 - Updated
ImageGear.Windows.Forms Assembly / ImageGear.Windows.Forms Namespace / ImGearPan Class / AdjustNavigationRectangleByImage Property




In This Topic
    AdjustNavigationRectangleByImage Property
    In This Topic
    Gets or sets a value indicating whether the size of the navigation rectangle is adjusted.
    Syntax
    'Declaration
     
    Public Property AdjustNavigationRectangleByImage As Boolean
    'Usage
     
    Dim instance As ImGearPan
    Dim value As Boolean
     
    instance.AdjustNavigationRectangleByImage = value
     
    value = instance.AdjustNavigationRectangleByImage
    public bool AdjustNavigationRectangleByImage {get; set;}
    public: __property bool get_AdjustNavigationRectangleByImage();
    public: __property void set_AdjustNavigationRectangleByImage( 
       bool value
    );
    public:
    property bool AdjustNavigationRectangleByImage {
       bool get();
       void set (    bool value);
    }

    Property Value

    When the value is true the size of the navigation rectangle is adjusted to the image size. Default value is false. In this case the size of the navigation rectangle is the source view client rectangle clipped by the destination view client rectangle.
    See Also