The size in pixels of text

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default The size in pixels of text

    Hi,

    I have a text member that it's text is changed on time to time, and I
    need to know the size in pixels of the current text at a time

    I'm not asking for the width and height of the member
    (member("text).width and member("text).height), but just the size of
    the part with text in it.

    Or... in other words, can I resize the text member to adjust it's size
    to the text it is holding?
    That way I could get it's size with member("text).width and
    member("text).height

    Thanks
    TomaHawK Guest

  2. Similar Questions and Discussions

    1. Document Size = Picture Size (in pixels)
      I've been doing a lot of picture annotations for this muscle physiology lab I'm doing work for. Basically I take a picture of some muscle, place it...
    2. Convert page size to pixels
      Two (possibly) related questions: (1) I am drawing the image of a page to an offscreen bitmap using PDPageDrawContentsToWindow. I need to allocate...
    3. web page size in pixels
      When creating a flash to be used as a web page. What is the general size that works best. Thank you in advance for you help with this.
    4. The size (width and height) in pixels of text
      Hi, I have a text member that it's text is changed on time to time, and I need to know the size in pixels of the current text at a time I'm...
    5. CAN I CHANGE SIZE (PIXELS) OF A PROJECTOR TO REDUCE THE FILE SIZE?
      as far as I know you would have to transform bitmap scale all bitmap members to the new size, then readjust their positions to score, and adjust...
  3. #2

    Default Re: The size in pixels of text

    Thank you for the tip, that might help me to get the height of the
    text.

    Do you have any idea how to get the width?
    Any tip might be helpfull

    On Tue, 12 Aug 2003 12:09:32 -0400, "Alexander Ross"
    <alexross@bleen.net> wrote:
    >Take a look in the lingo dictionary for lineheight
    >
    >
    >TomaHawK wrote:
    >> Hi,
    >>
    >> I have a text member that it's text is changed on time to time, and I
    >> need to know the size in pixels of the current text at a time
    >>
    >> I'm not asking for the width and height of the member
    >> (member("text).width and member("text).height), but just the size of
    >> the part with text in it.
    >>
    >> Or... in other words, can I resize the text member to adjust it's size
    >> to the text it is holding?
    >> That way I could get it's size with member("text).width and
    >> member("text).height
    >>
    >> Thanks
    >
    TomaHawK Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139