Size hints and aligment hints

Hi,
Could someone give me a precise definition of what aligment hints and size hints are please?
Also, provide some online resources on this. (Sun Java tutorial does not provide enough info.)
Thanks in advance!
Eric

Sun Java tutorial does not provide enough infoThats the best resource I've found.
Just dowload the examples and play with them, thats how you learn.
Then you can ask a specific question with specific code when you encounter a problem.

Similar Messages

  • I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    Are you trying to Print to PDF or are you trying to Print a PDF file to a physical printer?

  • How do I set a default page size, orientation, and printer for a particular document in Pages?

    I have a simple label document in Pages which I print to my label printer. The label is 1.49 x 3.47 inches and needs to print in Landscape, and it needs to print to my Dymo label printer. How do I set up the Page Setup or Print Setup so it defaults to this document size, orientation, and printer, every time, without me having to manually enter those settings every time?

    Thank you for your reply. However, I could not get Templates to work correctly for me.  Following your instructions, I opened my document, opened Page Setup, set the printer, paper size, orientation, and printed a copy to make sure it was right. Then I re-opened Page Setup to verify that the settings were still correct. Then I saved the document as a Template. Then I found my template in Pages, opened the template, and tried to print. The first thing I noticed was that the template did not remember my printer. Then I set the printer, and printed, but I found that the template also did not remember the page size or the document orientation. So, did I miss a step here? Lion 10.7.5 and Mac Mini.

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • In CC214 PS Why has adobe removed the "print Size Button"  And why have they made the Brush preview window so small you can't see the effects to accurately adjust them?

    In CC214 PS Why has adobe removed the "print Size Button"  And why have they made the Brush preview window so small you can't see the effects to accurately adjust them?
    These two things need to be remedied in their upgrades because It's become such a bother I've had to revert to older versions of PS.

    Yea, and it's a pain to get to.  What was the rational for removing the print size button?   With the magnifying glass tool selected in older versions of Photoshop you would get a button that says "print size" right next to Actual pixels, Fit Screen, Fill Screen. Now I have to go out of my way and dig for it if I want to see the print size.  Of all the buttons you could have taken away, why not fill screen?  I never use that.
    Besides the point I just downloaded the Oct Upgrade for PS and surprise! Nothing has changed and these are two big black eyes on newer versions of Photoshop.   The Brush preview window is  unchanged in CC but in CC2014 it's basically worthless.  If you apply a texture to a brush you can't properly see the scale of the texture, the spacing, scatter, etc...

  • PDF reduce file size filters and CMYK to RGB conversion

    This doesn't seem to be on-topic to this forum, but I'm hoping someone here has the expertise to answer my question. We have some scripts which take a series of press-quality pdfs and use the "reduce file size" filter to prepare them for viewing on the web. We run these scripts on a 10.4 machine, and the filter works very well, reliably reducing file sizes of all sorts of pages.
    When we tried to upgrade the machine, we discovered that the quartz filtering has changed in 10.5 and 10.6. While it's usually an improvement, getting maybe 5-10% better compression ratios, it has become unreliable in that about 5% of my files fail spectacularly -- they blow up to 3, 4, 5, 6 times the original size.
    The other thing that happens is that the 10.5/10.6 filters munge the colors up. I found the solution to this -- in the ColorSynchUtility, make a duplicate of the Reduce File Size filter, and add a Color Management Component called Convert To Profile. This allows me to set a filter that converts the CMYK content to RGB. The problem is that there are about 40 choices of profiles, and it's not at all clear what I should use. Many of them have printer manufacturer's names in them, some say "Adobe", others have cryptic codes (probably referring to various RFCs and schemes). I've tried a couple of the ones that don't look like they are for printers, basically chosen at random. They all produce files of slightly different sizes for the reductions that go well, but on the files that blow up, some filters are better than others. (For example, I have a 5MB page which reduces to 1.4MB with the 10.4 filter, but blows up to 27MB with the "sRGB IE61966-2.1" profile, but only 12MB with the "Adobe RGB" profile.)
    So I have 2 questions:
    1) Is there any way to configure a 10.5/10.6 custom profile so that it behaves as reliably as the 10.4 "stock" PDF Reduce File Size works? It doesn't have to be the most wonderful compression algorithm out there, just so that it never or rarely has a file blow up in size.
    2) For converting press documents to pdfs that are going to go on the web, what is a good "Convert to profile" to use of the 40-some choices on the pull-down menu?

    Cathy,
    You have posted your question in a forum dedicated to the Final Cut Studio application Color. It is a very specialized program to grade (adjust) the color in video/film images. We know nothing regarding PDFs.
    Have you tried posting this on an Adobe support site?
    Good luck,
    x

  • Save as Reduced Size PDF and Save as Optimized PDF do not reduce the file size.  What gives?

    Save as Reduced Size PDF and Save as Optimized PDF do not reduce the file size.  What gives?  I used Acrobat 9 to do this for a long time.  I recently received new laptop loaded with with Acrobat 10 and it does not work the same.  I typically scan 8-10 pages of receipts, combine the files in Acrobat, and then optimize to reduce the size so I can upload with my expense report.  Typically, my files were reduced to 200-400 KB.  I have a 2 MB file that will not reduce at all.

    Bernd, thank you for your attempt to help but the option dialog windows do not contain the same options.  There are numerous other posts on this forum about this issue and there is no answer.  Clearly, there is an issue.  I have submitted this issue to our internal help desk.

  • Any relation b/w  set serveroutput on size 1000000 and utl_file

    Hi All,
    pls tell is any relation b/w set serveroutput on size 1000000 and utl_file
    Thank u.

    there is no relation between them
    one is used to output text on the screen
    where as the other is used to output text on the file.
    dbms_output->Screen
    utl_file->file

  • My typewriter toolbar is graying out the ability to change font size, type, and color.

    My typewriter toolbar is graying out the ability to change font size, type, and color.

    Here's what I have done in the past. Maybe not elegant, but
    it works. (I
    use PHP, but I'm sure you can modify for ASP.)
    In the HEAD of each web page, include regular old embedded
    STYLE tags,
    but INCLUDE an external PHP file:
    <head>
    <style type="text/css">
    <?php include('styles/testcss.php'); ?>
    </style>
    </head>
    Now in that included PHP file, just have CSS code which pulls
    in your
    dynamic data. Here's an example snippet:
    body {
    color: #600;
    background-color: <?php echo
    $row_recordset['bgcolor'];?>
    Of course, you'll need the code for the recordset somewhere
    too.
    Alec
    Adobe Community Expert

  • Increase redolog file size - Merits and Demerits

    Hi
    Currently, we are in  9.2.0.7.0 oralce version and having redolog file sizes (Mirrlog and origlog) of 100MB.
    Now we are planning to increase the size to 200 MB so that we could reduce the number of archive log files.
    Can you please let me know what would be the demerits of bigger size in redolog files?
    And also let me know the step by step process how to increase the size of redolog files?
    Thank you

    > I understand what you are saying but in our situation our backup policy is one time online backup  and one time offline backup in a week.....Online backup is on Thu and Offline backup is on Sunday.......
    >
    > In case of system crash if needed we would need to apply archive log files; If we have lesser number of archive logs; recover database would be faster.......correct me if am wrong.
    You are wrong.
    Ok, let's see an example:
    You took your backup on sunday midnight and your DB needs recovery on wednesday.
    Meanwhile you created say, 800 M worth of redolog data per day.
    That sums up to (monday, tuesday, wednesday) 3x800 M = 2400 M that need to be recovered.
    Going with your current setup (100 M redolog size) the largest archivelog file can be 100 M, makes 24 files to restore and recover.
    After changing the redologsize to, say 200 M, you only have 12 files to restore and recover.
    But know what? It's still 2400 M of data.
    Since you will likely not put every archivelog file to its own tape, but rather change the tape each day (just an assumption) or maybe don't use manually operated tapes at all, the little latency overhead in handling tapes doesn't count in to your overall recovery time.
    All in all you still need to feed the same amount of data to the recovery process.
    Apart from this:
    if you're discussing short recovery times, than you'd never perform just two data backups a week.
    You'd make online backups every day - maybe incremental ones.
    You' d use the flashback recovery area.
    An additional thing often overlooked: in many cases the ultimate performance killer for a restore/recovery scenario is not the technology in use.
    It's that when the case is there, the DBA is not sure anymore, what do to.
    He wonders:
    Where the good backups are.
    How to get them back from the 3rd party backup tool.
    How to check them.
    Where to get a different storage system because the original one is broken.
    How to figure out what needs recovery
    How the tools work
    By ensuring that you always master the theory and the how to of restore and recovery - that's how you make it quick and painless (and dataloss-less).
    regards,
    Lars

  • When I want to zoom in or zoom out with the mouse wheel and CONTROL button the letters get larger but remain within the same size paragraph and any pictures remain the same. I want the entire page to zoom.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/866940]]</blockquote>
    I want the entire page to zoom in and out when I use CONTROL + mouse wheel. Now the letters get larger but remain in the same size paragraph and also the pictures stay the same.

    It is indeed scandalous that Apple sells useless scanned music scores. There is a warning when you chose to download music tabs or notes but it doesn't say that the score lines are very small and cannot be zoomed. I spent $30 on two books but cannot really use them on my MBA as you cannot zoom except for the double click which only works page per page and is only a small improvement.
    The only way I can use the score more or less is on my ipad in landscape mode by increasing the font size to the max. The music score then becomes wider and you can read 2-3 lines per page without glasses.
    If you could transfer the file to the pdf  "side" of the library in ibooks the zoom would work..
    What does work is using the accessibility zoom mode option+command+= to zoom and then option+command+\ to smooth the picture but then your whole display desktop etc. are zoomed in.

  • How do i change font size permantly and where do i find this?

    Where /how do i change font size permantly and where do I find this in the OS?

    debfrommidwest wrote:
    I have gone to view to increase but of course that is only long enough until I close page,
    ....I would like not to have to set my print each time I open computer.
    You will need the web browser Firefox installed
    http://download.mozilla.org/?product=firefox-6.0.2&os=osx&lang=en-US
    Next you will need to add the following addons
    Theme Font & Size Changer
    https://addons.mozilla.org/en-US/firefox/addon/theme-font-size-changer/
    NoSquint
    https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    Theme Font & Size Changer can adjust the size of the type Firefox uses in the toolbar area.
    NoSquint remembers per site web page zoom levels and you can set a minimum size for all web pages so any site you visit is made bigger automatically. Safari doesn't do this.
    You can see the difference between Firefox and Safari in this picture.
    Note: Firefox is highly customizable browser, and I added the green with the yellow type, you won't see that when you first start using it.
    It did that to match my desktop picture, grey is depresssing.

  • What do *Size=1* and *BitSetCount=2* mean in the following script?

    What do Size=1 and BitSetCount=2 mean in the following script?
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2007-05-23 10:48:17.0, Address=192.168.0.204:8088, MachineId=26828)
    OldestMember=Member(Id=1, Timestamp=2007-05-23 10:48:17.0, Address=192.168.0.204:8088, MachineId=26828)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2007-05-23 10:48:17.0, Address=192.168.0.204:8088, MachineId=26828)
    Thank you very much

    Hello,
    That is part of very low level diagnostics message.
    The size is is how many members in that set.
    The BitSetCount=2 means that 2 32b integers were required to represent the memberset on the wire.
    Best regards,
    -Dave

  • What size (dimensions and ppi) images sould I make so they fit into the 9 x 11.25 ibook?

    What size (dimensions and ppi) images sould I make in Photo Shop so they fit into the 9 x 11.25 ibook? (I am a professional photographer who captures in RAW).
    I have sent a number of sizes to iPhoto for use in an iBook and they all are too big for the software so I get cropped images even when zoom slider is at it's smallest.
    This is very frustrating. I am on a dealine. Please help.
    John

    Is your question about a printed book? If so, you likely want to redirect your question to either the iPhoto or Apertuare forums, depending on the software you'll be using to submit your book for printing to Apple.
    This forum is actually focussed on the iBooks application for reading (and creating) electronic books for Apple's iOS devices such as the iPad, iPhone, and iPod Touch.
    Good luck!

  • RIGHT click to change brush size, hardness and roundness

    use imac i7, lion 10.7.4.
    It seems that, in CS6 photoshop, I could RIGHT CLICK, and a small panel would drop down at cursor location, allowing me to change size, hardness, and roundness of the brush.
    I have recently updated to 13.0.1.  The technique described above no longer works, but I can't be sure that this happened after the update.
    I may, as often, have screwed up a prefence checkbox.
    appreciate ANY help
    thanks,
    vince

    I didn't sense any change in the brush sizing mechanics with the 13.0.1 update.
    With the Brush Tool selected, right-clicking in an image pops this dialog up for me:
    And with Alt held down, right-clicking gives me interactive control of Diameter and Hardness:
    -Noel

Maybe you are looking for