Results 1 to 3 of 3

Thread: Setting PageMediaSize property of a printticker doesnt scale contents inside the page

  1. #1
    Hyperactive Member
    Join Date
    Apr 11
    Posts
    268

    Setting PageMediaSize property of a printticker doesnt scale contents inside the page

    Hello, my current issue right now is when i send a file to a printer (lets assume its ISOA4) i want to scale it to A3 for example, when i use the pagemediasize = new pagemediasize(pagemediasizename.isoa3) indeeds sends to the printer to print it as A3 however it prints in that page as if its still A4 which means that the content inside it doesnt scale, ive been searching around the net and only found one article talking about a function which takes as parameter Visual class, i have no idea how to work with that or if even is what i am looking for, i simply want to scale an a4 page to a3, both paper and content written on the paper, as if it was amplified if you get what i mean, any info regarding this is appreciated as usual, thanks in advance!

    EDIT: here is the only thing i actually find about it and its still a bit vague for someone who doesnt know if this is trully the only or the best way to print an a4 document to a3.
    http://msdn.microsoft.com/en-us/libr...mediasize.aspx
    Last edited by Legendary_Agent; May 25th, 2012 at 04:24 PM.

  2. #2
    Hyperactive Member
    Join Date
    Apr 11
    Posts
    268

    Re: Setting PageMediaSize property of a printticker doesnt scale contents inside the

    Is it one of those things that is not really doable? all i want is to stretch the page content to fit the page itself :\
    EDIT: i think i forgot to say its a xps document
    Last edited by Legendary_Agent; May 28th, 2012 at 03:48 AM.

  3. #3
    Hyperactive Member
    Join Date
    Apr 11
    Posts
    268

    Re: Setting PageMediaSize property of a printticker doesnt scale contents inside the

    ok well, ive kept searching and searching around the net and could not find any working example that scales the content inside the documents of a xps file to bigger or smaller... i think this is silly it should be pretty basic, ive tried scaling each fixedpage, tried scaling each pagecontent and tried scaling documentreference with the following values:
    maxwidth
    maxheight
    minwidth
    minheight
    width
    height

    setting all the same value and absolutely nothing happens with these variables...

    I think its probably easier to just scale the xps file directly and create a new one, hence why i tried those values, but if i set opacity for example, it works fine, however as much as i try to scale the entire page to a3 it simply doesnt let me do it...
    Any ideas or help is greatly appreciated.
    Last edited by Legendary_Agent; May 28th, 2012 at 10:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •