TextFrame properties question

Hi all

Can someone please identify/describe the differences between TextFrame.controlBounds, TextFrame.geometricBounds and TextFrame.visibleBounds?

Thank you

NOT

Hi, the problem is that you try to read the width of the textframe container, in this case containing "Text box", it will always be around 400 in your example. If your textframe was 'Point text' then you will get what you need by calling the width property of the textframe 'Text of Point', in this case 323.5

because you can not convert text to point text box, you can select the content of it and assign it to a new text frame friendly aiPointText then read the width property.

Carlos

Tags: Illustrator

Similar Questions

  • [JS] TextFrame StrokeWeight question.

    < - file Txt place or drag-and - drop. (Which was not in TypeTool.).

    <-race weight value of TextFrame of InDesign.

    <-race weight value of JavaScript TextFrame

    Hello.

    Is this a bug?

    I want to get the added value of the exact weight STROKE the txt file.

    Please any advice for me.

    Thank you.

    Hello

    I tried in Indesign CC 2014. It shows the correct value. What version did you check?

    Also try like this:

    Alert (App.activeDocument.textFrames.Item (0) .strokeWeight)

  • [JS, CS4] TextFrame.extractLabel () does not work with the instances of this class

    I have the script, which works very well in CS3. In CS4 (app.version = 6.0.1.532) However, I get an error using extractLabel, after reading a few other a textframe properties:

    frameObject.extractLabel ('name')
    Error: TextFrame.extractLabel () does not work with the instances of this class

    Until the reading of one of the 'normal' properties, such as (frameObject.) content I can call frameObject.extractLabel ('name') without errors, but after "watching" (assign it to a variable in the code, or by getting the value in the javascript console), the content property (or as it seems any normal property) the extractLabel method generates the above error.

    It seems to work to move all frameObject.extractLabel at the beginning of the function calls, but I don't think that I would need to do this.

    It could very well be the case that the label read by extractLabel has no content and never received. Will there be a change in behaviour of CS3 in this sentence? If so, and if this is the reason for the error, is there then a way to determine if the label has been assigned?

    This error is familiar to someone else?

    Best regards

    Andreas

    It works if you use:

    var pgItm = app.activeDocument.textFrames.itemByID(parseInt(myId));
    

    Otherwise, this might work:

    var pgItm = app.activeDocument.pageItems.itemByID(parseInt(myId)).getElements()[0];
    

    Although, generally, itemByID gives you the question no matter what it is as long as there are, so I'm bit puzzled that neither of them will be necessary.

    Dave

  • Display collection ArrayCollection in a list and the ArrayCollection with Drag and Drop collection reorgnize

    I have an ArrayCollection collection created like this

    qaAC = new ArrayCollection();

    for (var i: int = 0; i < 10; ++ i) {}
    var o: Object = {question: ' what is "+ i +"? ", answer:" it's "+ i"};
    qaAC.addItem (o);
    }

    The ArrayCollection collection is an array of object that has properties "question" and "answer to" custimized.

    I want to put 'issues' in the ArrayCollection collection in a list. 'qaAC.question' does not return an array of questions for me.

    I have to extract the ArrayCollection collection to form a new String table, and use the new array as the dataProvider of the list of questions.

    Is there a way better and clean?

    My goal is to use a list to reorgnize an ArrayCollection collection that contains complex objects (not simple string) with Drag & Drop. Is this possible?

    Any suggestions?

    I put two lists in my example to show how the ArrayCollection collection could be displayed in two different ways. You don't have to have two lists if you do not need them.

    When you change the order of the list made with drag and drop, you change the order of the collection ArrayCollection qaAC, so all the controls that display the qaAC will also be updated to reflect the new order. You can test this in the example I posted earlier. Change the order in the list of question and you will see the order change also in the list of responses. This is because they are both bound to the same collection of ArrayCollection. If you want to behave independently, you need two separate ArrayCollections.

    Chris

  • Hi, I'm new to animate so please be patient if this is a silly question. Problems with receiving the option loop 'play once' in the properties panel to work.

    Hello world

    I created a graphic symbol, then a test fast and then selected animation symbol on the stage (this did not bring the loop for me option in the properties panel initially), when I chose the last keyframe of the animation in question then selected the symbol on the stage, I was then only able to access the loop drop-down list in the properties panel. However, after you select 'play once' and test movie he continued to loop.

    Has tried to enter the symbol (in vase clos-sorry not sure of the exact terminology) and created the animation, then left the isolation and made sure that the animation was enough images in the scenario main and tried and still had a continuous loop.

    I used the stop(); action on a clip before that worked well, but who did a very basic animation; This requires several objects moving and stop at different times and I found the stop action interrupts the entire animation at that time here.

    So I have 2 questions:

    How we use the function 'play once' to make it work because that seems like the easiest option for what I want to achieve.

    Or how to effectively use code to stop and start the animation when I need to?

    Thank you in advance for your help!

    publication settings, disable loop timeline

  • Difficult question, why the transformation Panel said 'no shape properties' when I select a path?

    Hey, Zuko here (no, really I'm Erik)

    I have a bone to pick with the AdobeIllustrator CC race Committee.  Before, I thought I knew everything there was to know about this Panel.  But now, I hit a road block, it seems that no one else in the internet faces.  My question has to do with how the traces of the pen are treated by the race Committee and (I guess) if they are recognized as "smart shapes.

    Here's the problem: normally when I create a path with the pen tool, I can immediately afterwards, select it and transform it using the Panel forms (especially the transformation Panel).  This means that I can choose the width of profiles, create dashed lines, etc.  However, something happened to illustrator between yesterday and today (I don't know what) and now when I create a path with the pen tool and select it, the transformation panel reads: "no available shape properties." Or something between these lines.

    I am currently using Adobe Illustrator CC as I already said, my operating system is Windows 10, and the only thing that has changed in the way that I use work is connect with the intuos pen tablet.  (Not plugged in now, I'll perform an exorcism on her.)

    That's all for now, I don't have screenshots, but once I get off work in 8 hours, I'd be happy to give them.

    This is my desperate hour... Help Adobe creative community, you're my only hope. * static *.

    -Erik

    Erik,

    If not more specific/bright suggestions appear, you can try the list:

    Sometimes, (some) things may fail or stop working for no apparent reason. When (other) possible reasons/remedies do not work, it is perhaps a kind corruption (temporary or permanent), or even preference settings which disturbs, which can be cured with something on the following list put in place in order to provide a catch-all solution for otherwise intractable cases. It starts with a few easy suggestions and safe) 1 and 2) for cases less serious and goes two ways 3) and 4) to reset the default preferences (easily but irreversibly and more laboriously but more completely and also reversible), then follows a list 5) various other possibilities, and it ends with a complete reinstallation 6). If no other suggestion doesn't work, or if no other suggestion appears, you can start on the list and decide how to go or who can apply.

    The following is a general list of things, try when

    (A) the question is not in a specific file,

    (B) you have a printer installed, connected and turned on if it's a physical printer (you can use Adobe PDF/Acrobat Distiller as a printer by default without the need to have a printer on, of course you will need to specify when you really need print on paper), and

    (C) It is not caused by problems with opening a file from external media (see below).

    You tried/made some of them already; 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically may be corrupted/inconvenient preferences); ((5) is a list in itself and 6) is the last resort.

    If possible / there is, you must record a current work first, of course.

    (1) close Illy and open again.

    (2) restart the computer (you can make up at least 5 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible), for CS3 - CC you can find the file here:

    https://helpx.Adobe.com/Illustrator/KB/preference-file-location-Illustrator.html

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    6 (A) uninstall (check the box to delete the preferences, if any), B) run the cleanup tool (if you have CS3/CS4/CS5/CS6/CC) and C) reinstall. It is important to use this step three way: otherwise, things may persist.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • Questions about properties for the framework document creator

    Please tell me how to set value of creative properties document

    I tried the below coding

    PDOCConfig newConfig = PDDocGetOCConfig (newDoc);

    AsText(g) creatorText = PDOCConfigGetName (newConfig);

    creatorText = ASTextFromScriptText ("Value Creator", kASRomanScript);

    PDOCConfigSetCreator (newConfig, creatorText);

    ASTextDestroy (creatorText);

    Creation of the API is perfectly, but the performance of the tool of his display error in Acrobat that I attached the screenshotted for your reference

    screenshot.PNG

    Please help me on this

    Kind regards

    Hervé

    I you have posted this link before, but I think that nobody here has the time to download your code and debug for you - for free. I can only speak for myself, but I generally for it. If you want to (free) help make our jobs easier to come up with a question says: what you're doing, how you're doing, and what is happening.

    Karl Heinz Kremer

    KHKonsulting.com

  • Small question of properties

    Why do

    Get - vm | FT name, powerstate

    does not return the powerstate and that name... I feel I'm missing something basic here...

    Check the size of your Powershell console and see if there is a horizontal scroll bar.  I tried on mine and does not see the expected result, and then realized that the PowerState was aligned to the right.

    You can fix this by using the - AutoSize which will put the two columns together.

    If this is your problem, you can also adjust the size of the horizontal buffer.

    1. Right-click on the title bar of window PowerCLI
    2. Select Properties
    3. Select the tab layout
    4. Reduce the width under the buffer (it's me the value 150)

    Remember that whenever your size memory buffer is greater than the width of the window size, you will have the scroll bar.

  • Question about PDF properties/details/attributes

    Can someone tell me what the difference is betwwen an Atrtributes value of "n" and a value of attribute 'A' when you right click on a PDF document, choose Properties and click the Details tab.  The attributes said 'A' on some files and "n" on the other.

    This is nothing specific to Acrobat or PDF files, this is the Windows file attribute. "N" means that it is not indexed by Windows search tool, 'A' means that it is archived - which is normally defined by your backup software to keep track of the files that are new since the last backup.

  • question about document process plans and the properties of the form object

    The new version of the Workbench has a tool that allows us to print a report that displays the properties of the object used in a model or process shape card? For example... showing all properties such as size, models, fonts, by default, if a field is required or not, etc...? I also check to see if this feature has been added to the Workbench for Process Maps?

    No, it isn't, but there is a blog by John Briinkman entry that will analyze your form template give you some of this information. Here is a link to the blog entry:

    http://blogs.Adobe.com/formfeed/2011/05/updated-form-report-tool.html

    Paul

  • question about documenting the properties of the object

    The new version of the Designer has a tool that allows us to print a report that displays the properties of the object used in a form template? For example... showing all properties such as size, models, fonts, by default, if a field is required or not, etc...? I also check to see if this feature has been added to the Workbench for forms and for process cards too.

    Neal:

    This looks like a problem, you can solve with a designer macro.

    I have a sample macro that will summarize the properties for all objects in a form.

    You can customize the macro so that it reported on the selected objects

    The macro is described here:

    http://blogs.Adobe.com/formfeed/2011/05/updated-form-report-tool.html

    The latest version of the macro is here:

    http://blogs.Adobe.com/formfeed/2011/09/more-macro-goodies.html

    John

  • Help: Question of security properties - creating templates Pages, want to change not allowed

    I have my security implemented properties for how I need them with the exception of creating pages of models. I hope someone could help me with this?

    Security method: password security

    Can open by: Acrobat 7.0 and later versions

    Print: authorized

    Change the Document: unauthorized

    Document Assembly: unauthorized

    Copy content: unauthorized

    Copy of content for accessibility: allowed

    Extraction of page: unauthorized

    Comment: Not allowed

    Filling of form fields: permit

    Signature: authorized

    Creation of the template Pages: license (would be like NOT allowed)

    I also need to be savable on MAC and PC.

    Thank you in advance!

    If your document doesn't have any template pages and you don't have any code that deals with the models, this isn't a problem. Drive can not deal with models, unless the right has been granted by LiveCycle Reader Extensions.

  • Menu question properties Yes - Yes

    Hi, I'm wading in a book (O Reilly - Adobe still in the Studio) to learn the basics of the recall.

    Here and elsewhere, often is mentioned in the menu Properties window, often with a capture of screen showing the parameters such that - duration animate buttons - loop - etc.

    I think it's called the Pallette menu editor

    The problem is, I can't.

    By selecting Properties shows just the properties panel on the right side window. I don't get join where are all these parameters.

    The pickwhip is still used in CS5? I can't find a.

    I understand that the books that I have read may not cover CS5 directly, but I still need to get the settings.

    Any help gratefully accepted.

    See you soon

    Death

    Hi Minu

    Thanks for responding. It does not solve the problem, but the problem is now resolved.

    The problem is that shponkah movement etc. were hidden behind the layers panel.

    I pulled the layers panel down and everything was revealed.

    I should be fine now.

    Thank you

    Tom

  • Properties-&gt; Flex tree question Applications

    Right-click on the properties of a project, go to flex applications.

    FX3, only branches shown for my project are the ones with the real application (mxml) files

    In Fb4, it shows all my directories in my project and my applications are in the last subdirectory. But because I have 10 other subdirectories and probably more then 10 directories etc, the tree made my scroll bar about 1 1/5. ((1) there is no collapse all close this tree nasty 2) why it collapsed so all branches are closed, but only branches that appear are those with the mxml files does not start? It's super annoying to scroll down, see what application is selected, scroll to the add, then scroll down to select that I have added, and then scroll to the top to set the default value.

    Just start this view with the tree collapsed or expose branches that contain only mxml files.

    This forum is for the SDK. Issues specific to the IDE interface belong to its dedicated forum.

  • questions of privilege properties addToolButton

    Hello

    I am trying to add a button of toolbar with a JavaScript script to the folder level and I have a few questions of privilege.

    I want the button to be an icon. But to open a doc to import the image I need a privileged context. The button must also be like a power button, which remains marked when you press once and becomes unmarked when you press new. Therefore, what I tried... but unfortunately does not work. Even if I set global.isBankStatement false at the beginning as the key is marked. I also tried to set cMarked: false and 'false', but always the button is marked. Only when I omit the property of cMarked, it is not enabled.

    Any hint is appreciated ;-)

    (I work with Windows Vista and Acrobat 9 Pro)

    global.isBankStatement = false;

    icon var = {app.trustedFunction (function ()}
    app.beginPriv ();
    myDoc var = app.newDoc ();
    myDoc.importIcon ("myIcon", "/ C/acrobat_images/bank_20x20.gif", 0);
    var oIcon = util.iconStreamFromIcon (myDoc.getIcon ("myIcon"));
    myDoc.closeDoc (true);
    Return oIcon;
    });

    marked var = {app.trustedFunction (function ()}
    app.beginPriv ();
    var result = global.isBankStatement;
    app.endPriv ();
    return the result;
    });


    app.addToolButton({)
    cName: "myToolButton."
    oIcon: "icon."
    cExec: "handleBankStatements()."
    cTooltext: "bank statement."
    cEnable: «event.rc = (app.doc!» (= null)",
    NPO: 1,
    cMarked: 'event.rc = marked. "
    });

    Don't know if it is the cause of the problem, but since marked is a function you must call it as follows:

    marked()

Maybe you are looking for