How to define MasterSpread page size ?

Hi erverybody,
I'm looking for a way to create a new master with a custom page size. I can create a new Master with this :
myDocument.masterSpreads.add(1, {baseName:'NewMaster', namePrefix:'A'});
I try many options, but nothing seems to work..
myDocument.masterSpreads.add(1, {baseName:'NewMaster', namePrefix:'A', pageHeight:'250mm', pageWidth:'250mm'});
Any ideas ?
Thanks,
Cedric

Hi,
do resize() for each page of this masterSpread, i.e.:
thisMasterSpread.pages[0].resize(
     CoordinateSpaces.INNER_COORDINATES,
     AnchorPoint.CENTER_ANCHOR,
     ResizeMethods.REPLACING_CURRENT_DIMENSIONS_WITH,
     [pageWidth, pageHeight]
Jarek

Similar Messages

  • Hi, I am using Indesign CS6, How to set the page size in Inches.

    Hi, I am using Indesign CS6, How to set the page size in Inches.

    All fields in InDesign can be entered in any measurement system. So, if you want to make an 8"x10" document and go to File>New Document and the window looks like this:
    …you can type either 8 in or 8" into the Width field like this:
    …and when you move to the next field, it will convert the eight inches into the equivalent number in the unit of measure that it is using at the moment, like this:
    … (203.2 milimeters is the same as 8 inches). You can also enter a different measurement unit into other fields once the file is created, such as the width or height of a frame, or the position of an object in the X and Y coordinates.
    If you would rather just work in inches instead of having to type the inches mark or abbreviation, go to InDesign>Preferences>General and select the Units & Increments tab. There you will see Ruler Units for Horizontal and Vertical at the top of the window. Set them to Inches and all of the fields will display in inches. If you do that to an open document, you will change the unit of measure for that document. If you do it while no documents are open, it will change the unit of measure for any new documents you create. To change the unit of measure for existing documents, you will have to open each and make the change.

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • How to define "All Pages" for file handling preferences

    Hi,
         Anybody knows how to define the "Pages" preference under "File Handling" in Preferences by scripting?
         Attached is an screenshot for that option in InDesign CS5 client.
         Thanks in advance

    Hi,
         Anybody knows how to define the "Pages" preference under "File Handling" in Preferences by scripting?
         Attached is an screenshot for that option in InDesign CS5 client.
         Thanks in advance

  • How to set the page size

    Hi,
    How to set the page size of a B tree node in berkeley db java edition?
    thanks.

    The two systems have different performance characteristics. If you are concerned with the performance characteristics, then the best way to tell is to benchmark them.
    By the way, both BDB and BDB JE are B-trees.

  • How can I see page size?

    How can I see page size of the open document?

    This functionality is not available in Adobe Reader for Android. Could you please let us know how and why you would you like to see this feature so that we could add it to our product backlog?
    Thanks,
    Adobe Reader Team

  • How can I define the page size in mm instead of pixel?

    Any help is appreciated.

    There is no page size in Keynote, it does not have the ability to scale to a physical dimension.
    Keynote is a video based application, the end product is a slide presentation, therefore pixels are used to define the size of slides.
    It can print handouts and outline notes, but these have a preset template to allow printing of a thumbnail image and notes.
    If your end product is paper, use the iWork companion application, Pages or another page layout application.

  • How to reserve the page size when exporting to MS Excel 2010

    Hello. I have a report which exports to MS Excel 2010. I applied the page size as legal in Crystal Report and would like to use the same page size in Excel
    However, MS Excel print preview says the page size is letter.
    How could I keep the same page size in Excel as I applied in Crystal Report. We have a lot of business reports and would like to avoid applying page setting manually in Excel when users print them out each time.
    Thank you.

    Hi Christine
    I am in the process of writing a doc on the different options in CR and the "No Printer" option sis one of those. Seeing this post, made me wonder as this looked like a questionable behavior. My testing does not support your observations. Now, I did a very simple test;
    Created a report, set "No Printer", set the paper size and legal orientation. Exported to XLS - any format, and the export maintained legal paper size in all instance. I did a few other variations, but I can never get the report to export anything other than Landscape.
    Can you  please let me know the version of CR you are using?
    You may also want to attach the report here with saved data (to attach rename the rpt to txt, then in the reply hit on the "Use advanced editor" link and attach.
    BTW.; I am using CR 2013.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How do I change page size?

    I'm totally new to the mac platform and to iWeb but have some dreamweaver experience on PC. I have a very simple question. How do I change the size of page in iWeb 08. When I use a template it has a fixed page length and I can't seem to add content and make a vertically longer page. Thanks.
    Sam

    Go to the "page" inspector and select "layout". Here you can change the dimensions by using the up & down arrows or by typing in a new dimension and hit the "enter" key.
    You can also lengthen a page quickly by dropping a text box onto it as a "footer". Enter your copyright info into it then click hold and drag it down the page until you get the length you require.
    eg "Copyright © Sam - 2007 - All Rights Reserved"
    You get the © by typing "option" g

  • How do I change page size of an existing .pdf?

    I have Adobe Acrobat  XI Pro on my Mac running 10.6.
    How do I resize an existing .pdf document that is 20" x 40" down to 4" x 8"?
    Thanks!
    Bob

    Thank you Gilad D, Steve and Bill for your answers. Unfortunately, they don't solve my problem.
    Acrobat does not have a virtual printer option for a Mac operation 10.6. The only way you can "print" to a .pdf is by opening up any application and using File -> Print -> PDF -> Save as PDF.
    Any application, that is, except Acrobat.
    The Acrobat print dialog box gives the user a robust number of options to manipulate the printing of a document. Sadly, there is no "print to PDF" option. When you choose "Printer" (lower left corner), you get the printer's default dialog box that gives making a PDF an option. However if you choose this, another dialog box pops up stating "Saving a PDF file when printing is not supported. Instead, choose File > Save." When you go to File > Save, it is greyed out (since you are using an existing saved PDF file). If you try Save As, you are not given the option to resize the page.
    Alternatively, when you open the existing PDF file in Macintosh's Preview or Skim applications, you are given the option in the print dialog boxes to scale the image. However when you print to a PDF, the file size does not change (which is one of the driving motivations for changing the page size).
    I can't believe that Adobe doesn't have an option in Acrobat to address this issue. While I appreciate the suggestions regarding InDesign (or even PhotoShop for that matter), I'd rather not drop $400 +/- for a program to solve a problem that a reasonable person would expect Acrobat to do itself.
    Please... are there any other options?
    Thank you,
    Bob

  • How to specify custom page size in points?

    Have done the usual searches and not hit anything.
    Has anyone worked out how to get the custom sizes in Print Setup… to be measured in Points?
    I have a job where I need to work to screen resolution.
    The two System choices are for Metric which oddly shows in mm when everything else is in cm, or US measurements which are in inches (at least they aren't cubits).
    Nothing I see will switch it to the most accurate, by pdf/PostScript standards, of showing the measure in points.
    I have a vague recollection of having done this years ago in an OS far, far away. Could have been OS9, Windows or Linux of some ilk.
    Peter

    Peter,
    I have looked at this again in Pages ’09, and via Page Setup > Paper: Manage Custom Sizes..., it will not let me override the inch measurements.
    Try this to get two decimal places. Double-click the mm value in the paper size to select all, and then just type your mm setting with two decimal places (no mm text designation) and then tab out of that entry window. The two decimal setting is retained.
    This is redundant knowledge, but here is the conversion fluff. Inches in Page Setup may need to be set to approximate closest points. In the Postscript (cough) world, the conversion is:
    1 Point = 0.01388888889 Inch
    And the calculator (with round option).

  • How to calculate output page size of pdf map request?

    Hello,
    i have a problem regarding requesting a map as pdf and the resulting page size of the pdf in MapViewer version Ver11_B071001.
    i defined a bbox in srid 82015 that has a width of 297m and a height of 420m. The scale is 1:1000.
    According to the documentation the standard device resolution is 96dpi, so the above bbox will result in an image with 1122 pixel width and 1587 pixel height.
    A request with format="PNG_STREAM" returns an image with exact these dimensions.
    But a request with format="PDF_URL" returns a pdf document which dimension is 395.8mm * 559.9mm.
    I expected a dimension of 297mm * 420mm (which is DIN A3 as pagesize), so 1mm on the printed pdf equals 1000mm in the real world (scale 1:1000).
    Where am i doing wrong?
    Thanks for help in advance,
    Dirk

    Hi Dirk,
    based on some comments received from the PDF group, the PDF uses "pt" as reference.
    96 dpi can be said as 96 px per in
    so 96 px = 1 in
    1 in = 1/96 px
    1 px = 0.75pt (in 96 dpi system)
    1 in = 72pt
    1 in = 2.54cm = 25.4mm = 0.0254m
    so in your calculation, you need to multiply by 0.75 in order to convert "px" into "pt".
    Joao

  • How to change the page size of an active document?

    Apparently, in the CS3 is impossible to do any scripting and using any actions. Can it be done using plugins sdk, without creating a new document? I tried using the functions SetPageSetup and SetCropBox but no effect

    This is not exactly what I'm talking about. This is what is written about this suite in the documentation:
    This suite allows you to activate, access, and modify crop areas in Illustrator documents.
    Illustrator maintains a list of crop areas in a document, and these functions allow you to iterate through the list. The active crop area is the one returned by AIDocumentSuite::GetDocumentCropBox(), which is displayed with crop marks, and which is used when saving or exporting to a file.
    That is, using this suite, we can select crop box of the document (area inside crop marks). I choose this area by using the function SetDocumentCropBox or using actions - PlayActionEvent( "adobe_makeCropMark",...
    And how choose a page size of the document, which is selected through menu item Page Setup? Standard function SetDocumentSetup not works - as stated in the documentation, it can be called only in documents opening. :-(

  • How do I set page size?

    In the current version of Pages, how do I set the page size to an arbitrary value, say, 3" x 5"?

    Menu > File > Page Set-up > Paper Size: Manage Custom Size > create your own
    Peter

  • How to define our line size in module pool?

    Dear Friends,
    I have requirment to increse the length or size of a list which is calling itself from a module pool using leave list processing.
    Please suggest me the way?
    Regards
    Ricky

    It is very much same like report programming.
    Report z******       Message-id 38       Line-Size  190       Line-Count 0       No Standard Page Heading.
    use this report command on top of page to define the line size.

Maybe you are looking for

  • Symbols show instead of text in itunes (menu items only)???

    Hi can anyone help me please? My itunes is suddenly showing square like symbols instead of text, does anyone know how to fix this please?

  • Does the ati x800 xt run silently?

    My current graphics card is quite loud (nvidia 7800 GT) and I am wondering how noisy the ati x800 xt is in comparison. I read another post that said he would only hear the x800 xt when the machine booted up but not after that. His comment is the last

  • Reg "Parsing an empty source. Root element expected!"

    Hi techies, This is in regard of error generated while testing my configuration in configuration window. Till yesterday the senario is working for JDBC to JDBC. It is giving this error. "Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: P

  • Exception while doing bulk insertion

    Hi, I am trying to do a bulk insert of records into a table using my application. I am using prepared statement to achieve this. I am getting the following exception while doing bulk insert. java.lang.NegativeArraySizeException I am using SQL Server

  • CQ5 image gallery component

    Hi, I'm a newbee in CQ5. I need to create an image gallery similar to http://goo.gl/RGBXs. How can I proceed towards that? I was thinking of taking a DAM folder path from the content author as an input and using that I would create the block by itera