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.