Jump to content

Measure plot area dimensions (VBA)


Recommended Posts

Posted

Hi,

 

Is it possible in VBA to obtain information about width and height of plot area?

 

I want to write a program that plots multiple drawings (plotting layout extents), and I have to determine the formats of those drawings.

 

Thanks in advance for any help,

Paul

 

PS. Is it possible to measure dimensions of layout extents without printing?

 

EDIT:

I solved the problem. Reading system variables EXTMAX and EXTMIN, I can calculate width and height of layout extents and determine format (the only problem is when a center point of radial dimension is outside drawing edges - it messes extents).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...