Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

How to change page size of pagelayout ?

$
0
0
Hi,

I have a A3 printer (size: 297mm x 420mm). But I am wanting to print my pagelayout with paper size is: 265mm x 380mm

I tried to change the page size of my pagelayout to 265mm x 380mm by using the statement:

Code:

pageLayout.Page.PutCustomSize(26.5, 38);               
 pageLayout.Page.Orientation = 2;

And, I tried to setup printer properties to A3 size or custom size (265mm x 380mm) but it is not successfull (it shows incorrect position).

Do you know how to fix it ?

Thanks and regards,

Tai

Viewing all articles
Browse latest Browse all 1374

Trending Articles