Maximize document Window

Maximize document Window

BromanSillito
Advocate Advocate
675 Views
2 Replies
Message 1 of 3

Maximize document Window

BromanSillito
Advocate
Advocate

This seems like a simple question, but I can't seem to find the answer. I would like to maximize the internal document window in Inventor. In other words, I don't necessarily want to maximize Inventor on a screen, but I want to maximize a document window inside of Inventor, similar to the picture below:

 

maximize.JPG

 

I have tried using "ThisApplication.WindowState = WindowsSizeEnum.kMaximize but it maximizes the whole application instead of just the document inside of Inventor. Can anyone tell me what the right method or property is?

0 Likes
Accepted solutions (1)
676 Views
2 Replies
Replies (2)
Message 2 of 3

GeorgK
Advisor
Advisor
0 Likes
Message 3 of 3

frederic.vandenplas
Collaborator
Collaborator
Accepted solution

Hi,

 

This maximizes the active document window

 

Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
oDoc.Views(1).WindowState = kMaximize

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"