Create a border (frame) around an entity in dwf

Create a border (frame) around an entity in dwf

Anonymous
Not applicable
466 Views
1 Reply
Message 1 of 2

Create a border (frame) around an entity in dwf

Anonymous
Not applicable

Hi,

 

I use that C# code from the article by Kean Walmsley to create a DWF file.
How can I create a frame (border) around the drawing on a paper?

 

E.g., this is what I get:

get.png

 

This is what I want:

want.png

 

Thanks!

0 Likes
467 Views
1 Reply
Reply (1)
Message 2 of 2

norman.yuan
Mentor
Mentor

To make visual presentations of some geometries ("border/frame" in your case) has NOTHING to do with plotting DWF/PDF (an electronic sheet paper). Whatever you want to see in a DWF/PDF, you need to DRAW in in AutoCAD first.

 

It sounds to me that you might not be very familiar with using AutoCAD, but being tasked to plot drawing programmatically. If so, whoever works with the drawing in AutoCAD should have everything drawn correctly before your code does the plotting. Or, you can programmatically draw something (the border) with AutoCAD API, which requires knowing more on AutoCAD, BEFORE the plotting starts.

 

 

Norman Yuan

Drive CAD With Code

EESignature