Using a javascript to change the font size used by the measurement tool

A couple years ago I saw a javascript written that would allow me to chang the font size used by the measurement tool in Acrobat 9.  When the IT department deliverd my new laptop with Acrobat X Pro, they had wiped out the script and I am not expert enough to recreate it from scratch.  Any suggestions?  I believe it was in an older post by Dave Merchant, but I truly can't find the post or a way to recreate the script.  Thanks for any help.

Executing this code from the JS console will change the font size of all the Measurement annotations to 20. You can change the value in the first line to use a different font size:
var newTextSize = 20;
this.syncAnnotScan();
var annots = this.getAnnots();
for (var i in annots) {
    var annot = annots[i];
    if (annots[i].type=="Line") {
        var richText = annot.richContents;
        for (var i in richText) {
            richText[i].textSize = newTextSize;
        annot.richContents = richText;

Similar Messages

  • When I print a web page, the font size is always the default (which is good for screen reading, but too big for printing), even when I use Text Zoom to make it smaller.

    How can I change the font size when printing web pages?

    When you zoom in, it is like using a magnifying glass - the underlying image remains unchanged, as you have found out.
    You may be able to enlarge the bird to some extent without distortion and without pixilation by resampling.
    Go image menu>resize>image size. Be sure that "constrain proportions " is checked in the dialog.
    More on this from the help menu:
    Photoshop Elements Help | Resizing
    If you google  this topic, you will get many hits.

  • How to make the font sizes larger in the Firefox Bookmarks Library?

    The default font size of the entries in my bookmarks menu (displayed when I ask to Show All Bookmarks) is too small for me to read comfortably. How can I permanently increase the font size?
    I assume there is a userChrome.css entry to apply. What would it be?

    Add code to the <b>userChrome.css</b> file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    <pre><nowiki>@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #places * { font-size:16px !important; }
    </nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • How can you increase/change the font size using window.print

    We don't use BI/XML Publisher.
    I have a button with an URL Redirect to print.
    javascript:window.print();
    How can I give the user the option to print with a different font or larger size or optionally to set it the same for everyone?
    thanks
    John

    Hi,
    I would think that, generally speaking, users would print from a Printer Friendly page. This is a page template that has most of the top and bottom (that is, the tabs and footers) of a normal page removed. You can switch a page to a Printer Friendly one fairly easily - see: Re: Print Report without Template for an example. As this is a separate page template, you can use printer-only styling. The downside is that you can only have one Printer Friendly page in your application, so you have to be careful to make any styling generic.
    Andy

  • How can I change the font size of an outgoing instant message using Applescript?

    Text copied into Messages.app from a web page is often too small to read. Is there a quick way to boost the font size using Applescript?

    HI,
    I have spent some time looking at the Mix Message Case.scpt in Hard Drive/Library/Scripts/Messages and also Crazy Message Text.scpt in the same Scripts Folder but then the Mail one.
    Both are Apple versions.
    The Mix Case one is set in Messages > Preferences > Alerts
    Set the top drop down to Sent Message
    Enable the Applescript items and chose the Mix Case item.
    It will look something like this in the current Font and size you have set.
    ThEn aGaIn
    Obviously you don't want all the bit to make the font change between upper an lower case but it does have the option to use it with the Sent Message and it also uses the entry in the text field as a String.
    The Mail Crazy Message one  opens a dialogue box when run.
    it has a default phase and some Upper and lower limits to the size that will be used.
    the Dialogue allows you to change the phrase and also "Set Prefs" to altert the font sizes.
    The result is a text palce in a new Mail items and the font and size changes to look like this:-
    Picture
    It will look different everytime and the Font for each character  and the size of each is randomised.
    Although I have tried sticking in a line to change the size to anything other then my set font in the Mixed Case one I can't get it to work.
    In some cases I get an Script error in Messages  (It seems to think I am setting a Font called "10")
    At other times it just says it can't set it buit still does the Mixed Case bit.
    My hope was to change the size and then reduce the requirement for the "intercaps" routine.
    I have other emails about new posts so I will anwser them and then spend some more time on this.
    9:01 PM      Thursday; June 13, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • The font size in mail on my iPhone changed with OS 7.1.1

    My iPhone 5 recently went to OS7.1.1.  I don't know what happened but the size of the text in my received emails just got smaller to the point of where I can hardly read them.
    How do I change this or how to I go back to the previous version?

    Thank you but I got that figured out. The issues is in that the text from incoming Emails are so small  it is difficult to read. If you increase the font size using what you suggested, incoming is easier to read but when you compose a new email it is like getting far fewer words on the screen because the text is so large.
    Something changed in the new version of the operating system!

  • How to change the font size in sap scripts?

    hi friends,
        i had a query regarding to SAPSCRIPT.
      how to change the font size of a text in sap script form in which it should change it  dynamically.
    is it possible to change the font size dynamically in scripts.
    one more query regarding to this only.
    i need to get the hard copy of a script .
    what is the transaction code to get the hard copy?

    Hi venkata,
    You can specify the font size either in the Character format or pharagraph format.
    You better decide it according to your requirement.  If you want to apply the same font size for the entire form create the Paragraph format and give the paragraph format in the default paragraph format.
    If you want to apply that to limited text, then create character format.
    The process of creating it is just after going inside paragraph format click EDIT-> Create Element and give the font size.
    This applies for character format also.
    Reward points if useful.
    Thanks,
    karthik

  • Change font size using code

    I would like to change the font size using the xml code.
    <?draft?> is the field I am using and would like to define the size of the field / text by code.

    <fo:block font-size="14pt" font-family="verdana" color="red">
    Your test or your field
      </fo:block>

  • Changing the font size does not work with Textarea with HTML Editor

    If you change the font size in the text area of a "Textarea with HTML Editor" item it does not work. I've searched the forum and the only solution I've seen is to use an HTML editor foriegn to APEX. Does anyone have a better solution? Thanks, Elizabeth

    I'm having a similar issue except with HTML Editor Standard.
    What I'm doing is allow someone to write to an HTML Editor Standard field and then an HTML marked up text is saved to a db CLOB column. In another page, I reference this DB column and show it in an HTML Region (I do a computation Before Regions for a hidden item that writes out the html with "htp.p")
    Everything shows up fine EXCEPT the font tags and headings. I'm finding that the HTML Region sets the font size only with the < d i v s t y l e="font-size: large" >and NOT < f o n t size:6 >. When the HTML Editor renders the user's text input, any size changes are made with the < f o n t > tag, which is depreciated anyways, and not with "style". That's why the size is not showing up.
    I can't really figure out why the headings aren't showing up except maybe the css style in the region is overridding it...
    Is there another APEX item type like HTML Editor (which uses FCKEditor) that I can use, or maybe another approach to remedy this issue? Or maybe this post calls for an enhancement with the HTML Editor?{size}{size}
    </div>
    Edited by: maui26 on Mar 4, 2009 10:43 AM

  • How to Change the Font Size in Module Pool Selection Screen?

    Hi,
    There is a module pool, and I need to change the font size mentioned in the selection screen. Could you plaese tell me, how will I be able to do that?

    Hi ,
    If you are asking for text field , then check the options avaliable in Display tab of Attributes.
    Hope this helps you.

  • How do I change the font size in the menus and toolbars

    The font size is too small for my old eyes and I would like to make the font size larger in the upper toolbars (address bar, etc.) and menus. Thanks, Jeff

    See: Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/162063/

  • How to change the font size of text element?

    Hi Experts,
    The font size shows in the view is too small, is there any way to make it bigger?
    Thanks for your time!
    Anna

    Hi Anna,
    depending on the UI element there are a range of ways. (and I'm sure people will post plenty of answers to tell you how).
    However, if generically the fonts in you portal/wd applications are too small, you should consider changing your theme so as to have larger texts. Otherwise you will either need to customise all your applications, or you will get quite a lot of inconsistency of presentation between your various WDA applications.
    Do a search on "themes for Web Dynpro ABAP" and you'll find loads of resources.
    Hope this helps,
    Cheers,
    Chris

  • Changing defauklt font size in the Safari and in text menu

    II want to change the font size as in the img at the url http://www.andreabersi.com/up/1.jpg. But how do it (i am beginner with Leopard and with MAC )? Thank you

    There is no way at this stage to change the font size in Menus or on toolbars.
    If the text is too small to see clearly the options under System Preferences > Universal access > Seeing > Zoom Options could help.
    Smaller or bigger? change the computers resolution if possible or send feedback to Apple
    http://www.apple.com/feedback/macosx.html

  • Set ONLY the font size for the target PCs

    I know that I must include a custom ini file to specify font name AND size for target PCs (the ones where the EXE runs).
    For example
    appFont="Tahoma" 13
    dialogFont="Tahoma" 13
    systemFont="Tahoma" 13
    Is there a way to specify only the font size and not the name? (i.e. I want to use the specific font for a given PC, but I want to set its size).
    I tried with
    appFont= 13
    but this setting is ignored.
    When I used
    appFont= "0" 13
    the size was correctly set, but what does the "0" mean?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
    Solved!
    Go to Solution.

    Hi Vix,
    Yes I believe this will work.
    You could confirm by the fact,
    The default Application font is the Message Box Font which is Segoi UI and Tahoma for Windows VISTA and XP machines respectively. To verify this this on a Windows XP machine, complete the following steps:
    Open Start»Settings»Control Panel»Display
    On the Appearance tab, press Advanced
    Select Message Box from the Item: pull-down menu
    The font is displayed in the Font: pull-down menu
     .. does the font change between "0" and Tahoma for example.. 
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • How to do I increase the font size inside the drop down menus?

    I am trying to enlarge the default font size of the drop down menus that appear when you use the items in the menu bar. For example, I want to increase the font size used in the list that appears under "bookmarks." I do not trying to do anything other than this. Theme and Font size changer does not do this.

    Can you clarify with a screenshot which for items you want to change the font size?
    I use this code on Linux for some font sizes:
    <pre><nowiki>/* font-size: sidebar */
    #commonDialog *, #sidebar-box *, #bookmarksPanel *, #history-panel *{ font-size:11pt!important; }
    /* font-size: Bookmarks */
    #bookmarksBarContent menuitem.bookmark-item,
    #bookmarksMenuPopup menu,
    #bookmarksMenuPopup menuitem { font-size:11pt!important; }
    /* font-size: search bar,autohide */
    #search-container .textbox-input-box {font-size:0px!important}
    #search-container .searchbar-textbox:hover .textbox-input-box,
    #search-container .searchbar-textbox[focused="true"] .textbox-input-box { font-size:12pt!important; font-family:"DejaVu Sans Mono"; }
    /* font-size: navigator toolbox */
    #navigator-toolbox menupopup menu, #navigator-toolbox menupopup menuitem { font-size:12px!important; }</nowiki></pre>

Maybe you are looking for

  • How can I move address book information between Address Book and Entourage?

    (I have the same question regarding iCal and Entourage.) I have a lot of important information to enter, info that would be very difficult to relocate. I had some problems with iCal awhile back (it started randomly deleting events), so I am trying to

  • Classes not picked up from WEB-INF/classes

    9ias R2: OC4j Some classes could be found from WEB-INF/classes by JSP pages but some others could not. WEB-INF/classes is part of the classpath in JSP's point of view. And if explicitly import the class such as import abc; in JSP pages and the class

  • Videos/games will not play

    From my iMac, I am unable to get videos to work on sites such as YouTube and other game sites. I have updated to the recent version of Adobe Flash Player and Shockwave, but no difference. I have also verified that my Plugins are properly selected. Pl

  • How to get result of Select from stored function.

    I need to get result of select from a stored function. In the end of my stored function I makes final select (four columns). How it can be retrived from function?

  • Giving "One to One" lessons as a gift. Is It Possible?

    Is it possible to give Apple "One to One" lessons as a gift? I may be able to obtain the Apple I.D. & password of that MAC user...or I may not. My aunt in New York City wants to give the "One to One" lessons as a gift to a friend, but the aunt rarely