Search Results for

    Show / Hide Table of Contents

    Method GetViewRectangle

    GetViewRectangle(DocumentId, int, out int, out int, out int, out int)

    Gets the screen rectangle of the graphic view of a document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 7, 0, 0)]
    void GetViewRectangle(DocumentId inDocumentId, int inViewId, out int outXMin, out int outXMax, out int outYMin, out int outYMax)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to analyze.

    int inViewId

    Identifier of the graphic view to analyze.

    int outXMin

    Left side coordinate.

    int outXMax

    Right side coordinate.

    int outYMin

    Bottom side coordinate.

    int outYMax

    Top side coordinate.

    Remarks

    Rectangle is expressed in GDI screen coordinates (origin at top-left of screen).

    This method is available since v7.7.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.