Want to read the size of a graphics window

I would like to use the size of the graphics window to position the legend next to her, but cannot find the right property. "Bounds - width area" seem to include the entire control (blue arrows in the image below) included the legend, while 'Plot - region - size' seems to be that the area of the grid (yellow arrows). What I want to know is the size of the box which includes the plot and labels of axis (red arrows). Anyone knows what are the properties would get me this information?

Way is the simplest steps.

1 set the visible property of the legend to false.

2 get the limits

3. set the caption to the visible and move as you want.

Tags: NI Software

Similar Questions

  • How to read the size of the current brush in javascript

    How can I read the current size of the brush in javascript?

    For either the brush or for example the clonestamp tool.

    I want to read the current value and change it to another within a script.

    function getCurrentBrushInfo() {
        var brsh = {};
        var ref = new ActionReference();
        ref.putEnumerated(charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt"));
        var currentBrush = executeActionGet(ref).getObjectValue(stringIDToTypeID("currentToolOptions")).getObjectValue(charIDToTypeID('Brsh'));
    
        brsh.diameter = currentBrush.getDouble(charIDToTypeID('Dmtr'));
        brsh.hardness = currentBrush.getDouble(charIDToTypeID('Hrdn'));
        brsh.angle = currentBrush.getDouble(charIDToTypeID('Angl'));
        brsh.roundness = currentBrush.getDouble(charIDToTypeID('Rndn'));
        brsh.spacing = currentBrush.getDouble(charIDToTypeID('Spcn'));
    
        return brsh
    }
    
  • Read the size in pixels of the camera

    Hello

    is it possible to read the size in pixels of a digital camera by programming with IMAQdx?

    e.g. Basler acA1300-30um ace:

    Horizontal/vertical pixel size3.75 x 3.75 µm µm

    Thanks in advance.

    Thomas

    Hi Thomas,

    If the seller has exposed this information as an attribute via their XML file is the only way to see that by programming. I looked at a few aces Basler I, and none of them seemed to have this information. They have an attribute called PixelSize, but refers to the bits per pixel and not the physical size. I skimmed the GenICam Standard characteristic Naming Convention to see if there is a feature of GenICam standard for what you are looking for and have not seen one. Unfortunately, it seems that you will not be able to get this information programmatically.

    Katie

  • I want to change the size and color of the text in the call boxes and text boxes. How can I do this? Jack

    I want to change the size and color of the text in the call boxes and text boxes. How can I do this? Jack

    Highlite the text inside the text box and press Ctrl + E.

  • I want to maximize the size of the applet window

    Hello Member,.

    I use form 9i. When I run the shape to the size of the applet window firefox browser is smaller than the browser display area. I want to get my window applet with browser display ways area I want to maximize the size of the applet window

    What should I do?

    Please suggest me.

    Thank you
    Gregory

    try to make the width = 100%
    height = 100% of formsweb.cfg

    Also search this forum for answers

  • Hi, I have a problem in the installation, how to install acrobat 8.1 pro in 64-bit Windows 7 Enterprise is existing in Windows XP.  I just want to transfer the license Adobe pro 8 Windows 7 64 bit. What is the procedure?

    Hi, I have a problem in the installation, how to install acrobat 8.1 pro in 64-bit Windows 7 Enterprise is existing in Windows XP.  I just want to transfer the license Adobe pro 8 Windows 7 64 bit. What is the procedure?

    You need to install 8 AA on the new OS with your current S/N (the license allows 2 installs). After the installation, do all the updates if you expect any chance of 8 AA to run on the system. If the updates will be installed not in the menu help, then go to ftp://ftp.adobe.com/pub/adobe/acrobat/win/ and install updates in the order. People seem to have been successful with 32 - bit systems and some have reported success with a 64 bit system. After installation, print something to the Adobe PDF printer to make sure it works. If this works, you should be in good shape as printing treat the bottleneck. There is a solution, but you shouldn't have it.

    If all works well, then go back to the old machine and disable this installing and uninstalling. Don't forget that your configuration is not supported by Adobe. It seems with every new version of Windows, MS seeks to make the user to upgrade the other hardware and software for compatibility. There may be legitimate reasons for this action, but the game just seems to be Ms.

  • What are the steps to increase the size of Guest OS Windows Server 2003 disk?

    People,

    Hello. I use 3 Player VM and Guest OS Windows Server 2003. The host OS is Windows 7.

    I just increase the disk size of Virtual Machine from 80 GB to 150 GB successfully. The next thing to do is to repartition the disk size of Guest OS Windows Server 2003 in 150 GB.

    What are the specific steps to increase the size of Guest OS Windows Server 2003 disk?

    Thank you.

    Only, I tried start gparted-live - 0.7.0 - 4.ISO both gparted-live - 0.7.0 - 7.iso in VMware Player and had no problem in order to check the MD5SUM.

    Attach the file vmware.log so we can see what is happening.

  • Dell virtual disk are larger. You want to increase the size of the data store.

    Hello

    I started the implementation of a server ESXi 5.5 Update 1 this week. I didn't know Dell shipped the server with two virtual disks instead of one. I realized this _apres_ that I had already created the data store and setup a few virtual machines to the breast. I called Dell who sent specific instructions to increase the removal of the second (empty) virtual disk and add it to the main. In the end, I increased the single VD from 2 TB to 3 TB and I want to give the remaining space in my store of data.

    I tried to follow the article here that explains how to do this via the CLI.

    Well, he did not altogether. Fortunately, I was able to recover my datastore my setting start and end sectors to their original numbers. But I'm still left with this almost 1 TB of space that I can not attribute to the data store. After that I reread storage adapters in the client, the new Dell disk size resulted under measurement devices. Click on "increase...". ", generates the following error which led me on the way to the CLI method:

    Call "HostDatastoreSystem.QueryAvailableDisksForVmfs" to object "ha-datastoresystem" on ESXi '[myservername]' failed.

    I will paste my notes that I took everything by jobs. Things have exploded the rails when I put 4 partition size to the largest size. Any help, please?

    ---

    I use that as a guide:

    http://KB.VMware.com/selfservice/search.do?cmd=displayKC & docType = kc & docTypeID = DT_KB_1_1 & externalId = 2002461


    1 use start hardware device management tools to increase the capacity of additional disk to the device. For more information, commit your hardware provider.

    This has been done. The new size of the virtual disk is 2791,88 GB (TB 2,79188)


    2. open a console to the ESXi host.

    Pretty simple.


    3. get the DeviceID for the data store to change.

    ~ # vmkfstools Pei "/ vmfs/volumes/datastore1 / '.

    System file VMFS-5, 60 extending on 1 partition.

    File system label (if applicable): datastore1

    Mode: public

    Capacity 1971926859776 (blocks of files 1880576 * 1048576), 1042688245760 (994385 blocks) prevail, max size of the 69201586814976 file

    UUID: 534e5121 - 4450-19dc-f8bc1238e18a 260d

    Partitions split (on 'lvm'):

    NAA.6c81f660ef0d23001ad809071096d28a:4


    A couple of things to note:

    a. the device for Datastore1 ID is: naa.6c81f660ef0d23001ad809071096d28a

    b. the number of Partition on the disk is: 4 ' [...]: 4 "»

    c. the prefix, "naa," means "Network address authority" the number immediately after is a single logical unit number.

    4. Enter the amount of disk space available on the data store.

    ~ # df h

    Size of filesystem used available use % mounted on

    VMFS-5 1. 8T 865.4 G 971,1 G 47% / vmfs/volumes/datastore1


    5 team of the device identifier, to identify the existing partitions on the device by using the partedUtil command.

    ~ # partedUtil get ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a '.

    364456 255 63 5854986240

    1 63 80324 222 0

    2 80325 8466884 6 0

    3 8466885 13709764 252 0

    4 13711360 3865468766 251 0

    ~ #


    According to the table in article KB

    4 13711360 3865468766 251 0 - primary #4, type 251 = 0xFB = VMFS, 13711360-3865468766 areas

    | |        |          |   |

    | |        |          |   \---attribut

    | |        |          \---type

    | |        \---se finishing sector

    | \---a starting from sector

    partition \---Numero


    Also note how the number of section start the old end sector number is + 1.


    6 identify the partitions that need to be resized and the size of the space to use.

    We want to resize partition 4. I don't really understand the last part of this sentence, however. Read more.


    7 the number of sector end you want for the target data store VMFS partitions. To use all out at the end of the disc space, remove 1 of the size of the disk in the areas as described in step 5 in order to get the last usable area.

    ESXi 5.x has a command to do this:

    ~ # partedUtil getUsableSectors "/ vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a".

    1 5854986239

    This means that we want 4 Partition of "naa.6c81f660ef0d23001ad809071096d28a" to be:

    13711360 - 5854986239 (i.e. the end of the disc)


    8 resize the partition containing the target VMFS Datastore using the command partedUtil, specifying the original existing partition and the desired end sector:

    Using the above information, our command is:

    resize # partedUtil ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a ' 4 13711360 5854986239


    9 step 8, the partedUtil command can report the warning:

    He did not. Displacement.


    10. the tables of partitions have been adjusted, but the VMFS data within the partition store is always the same size. Now there is an empty space in the partition where the VMFS data store can be grown.


    11 launch this v vmkfstools command to perform a refresh for VMFS volumes.

    Fact.


    12 reach the VMFS Datastore in the new space using the command - growfs vmkfstools, specifying the partition containing the VMFS Datastore target twice.

    vmkfstools - growfs ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a:4 ' ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a:4 '.


    It did not work. I got an error:

    / vmfs/volumes # vmkfstools - growfs ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a:4 ' /vmfs/devices/disks/naa.6c81f660ef0d «»

    23001ad809071096d28a:4 ".

    Cannot get device head way /dev/disks/naa.6c81f660ef0d23001ad809071096d28a:4 information


    Also the partition was very different to what I asked:

    ~ # partedUtil get ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a '.

    364456 255 63 5854986240

    1 63 80324 222 0

    2 80325 8466884 6 0

    3 8466885 13709764 252 0

    4 13711360 1560018942 251 0


    I fixed it by running these commands:

    ~ # partedUtil resize ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a ' 4 13711360 3865468766

    ~ # vmkfstools v

    ~ # partedUtil get ' / vmfs/devices/disks/naa.6c81f660ef0d23001ad809071096d28a '.

    364456 255 63 5854986240

    1 63 80324 222 0

    2 80325 8466884 6 0

    3 8466885 13709764 252 0

    4 13711360 3865468766 251 0

    Update:

    Since it was such a new machine, not in active production, we have safeguarded the VMs management off the ESXi host. Then flattened the virtual disk, recreated, and then created a store of data with the right size. (TPG this time, naturally.) We put the management of virtual machines on the data store. For Windows virtual machines, we have restored the using AppAssure. Everything is ok now.

    Need to add a new item to the list of punch: check what Dell has done the configuration of the virtual disks. :-)

  • whenever I want to read the paper of new e-edition, she always goes to a previous edition

    I would like to set up my computer so that when I go online to read my news E-Edition paper it will go to the last edition, not to a previous one.

    Thank you

    This could be related to how you start Firefox.

    If you set to reopen your previous session windows and tabs in Firefox, then close Firefox on the current edition of the journal, Firefox can resume exactly where you left it without updating the site.

    However, if you do log your homepage and launch Firefox to your home page, Firefox usually must check the updates.

    If you want to keep the session restore, but have the update page, you might need an add-on to reload.

  • READ the size of the image file

    I need the size of the file (MB or KB) of a file that is already on the server.

    I could do a CFFILE READ, but it will put the image in memory, which I can't do because of the potentially huge size of the files. CFIMAGE does not seem to have a variable size of output for the action of the INFO.

    I could do a CFDIRECTORY and browse to find the file size of the file, but my directory has hundreds of thousands of files.

    Any ideas?

    THX!

    If you have the name of the file in a variable, you can place a filter on your CFDIRECTORY (FILTER = "" #myFilename # "") and to get only the properties for this file returned.

  • I want to increase the size of the history panel

    I just upgraded to v. v. 34 17.0.1. In the old version, I could open the story as a full panel and see the places and dates in chronological order. Now, even if I have the "View > by date and site" option is selected, I can only see sites. Also, when I try to increase the size of the Group story to pause the cursor on the edge, the two-headed arrow icon does nothing.

    There is a minimum (min-width: 14em ;) and maximum (max-width: 36em ;) for the sidebar and you can not drag icon resizer beyond this limit.))

    Add code to the file userChrome.css below default @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #sidebar { min-width:0px !important; max-width:none !important; }
    

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the folder of chrome in the Firefox profile folder.

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)
    • Create the folder chrome (lowercase) in the .default < xxxxxxxx > profile folder if the folder does not exist
    • Use a text editor like Notepad to create a userChrome.css (new) file in the folder chrome (file name is case sensitive)
    • Paste the code in the userChrome.css file in the Editor window
    • Make sure that the userChrome.css file starts with the default @namespace line
    • Make sure that you select "All files" and not "text files" when you save the file via "save file as" in the text editor as userChrome.css.
      Otherwise, Windows can add a hidden .txt file extension and you end up with one does not not userChrome.css.txt file
  • How to read the size of the array, eliminating empty values

    I have an array of size 2 X 10. In the first column, the elements are 10 and in the second column, the elements are only 6. If I use the size of the array and the size of the second column of the index, the value given is 10 which is supposed to be 6. I noticed that it creates null or empty values in the column for the other four. How can I eliminate empty values, and only get the real sze of the column?

    The column in the index and use search 1 D table for an empty string.  The result should be the number of non-empty strings.  If the result is - 1, use the actual size of table.

  • You want to know the size of the buffer on the mk3 5...

    ... and/or the number of raw files full resolution, it may contain. I was wondering if I used to pull a maximum of six bursts of shooting, writing the same question speed card?

    dbltapp wrote:

    ... and/or the number of raw files full resolution, it may contain. I was wondering if I used to pull a maximum of six bursts of shooting, writing the same question speed card?

    It does not matter to 6 shots.

    See: http://www.learn.usa.canon.com/resources/articles/2012/eos_understanding_burst_rates.htmlp

    The conservative estimate of the size of the buffer (in RAW mode) is that the buffer will hold about 13 shots until the camera is to wait for the data to be written in order to clear enough space for another buffer.   I actually tested it with my 5 d III and have found that, in practice, the number is somewhat higher - having about 18 shots before he slowed because of the limitations of the buffer.

  • I want to increase the size of the image icons in the palette to open the file, see them much

    I need to increase the size of the image icons in the palette of open files, see them much. Used to be a slider, wasn't there?

    Open files dialogue is controlled by your operating system.

    If you need more great icons and you use 10 Windows, the dropdown Options is in the upper right corner.   See screenshot.

    What is the slider that you are looking for?

    Nancy O.

  • Read the size of the video without onMetaData on live stream.

    Hello

    I am a Flash developer and know virtually nothing about the FMS.

    We met with a situation where our encoder (Adobe, one not) does not inject metadata into a live stream. Thus, there is no onMetaData on the stream. When the stream is 16 x 9, our players don't resize the flow according to the ratio and always display in 4 x 3.

    Is there a way to read the width and height of the video even if there is no metsdata? Perhaps a method that can be called via answering machine similar to getStreamLength.

    Video is streamed through Akamai.

    Interestingly enough when we discover the same stream in Akamai - video player is resized to the value dimensions / / AFTER a few seconds. Akamai of course has a mechanism to detect the video dimensions.

    Any help will be greatly appreciated.

    Thank you.

    My ignorance is the problem.

    Video class AS3 has videoWidth and videoHeight properties that can be used in case onMataData is not called.

Maybe you are looking for

  • error Web anti-virus?

    Hello, when I was on the Internet I got a warning that my mac was blocked and if I don't call in 5 minutes a number (toll-free) I will be blocked etc. The source was weberror.com. He said that my Facebook, my card number and my photos are nail and I

  • ENVY 4-1215dx: HPConnectedremoteservice.exe errors

    Yesterday HP ENVY 4-1215dx laptop computer my wife started having problems with the screen flashes every 10-15 seconds, and when you enter, the letters should be retyped because they do not take the first time.  The laptop is running 64-bit Windows 8

  • Downgrade from Windows XP

    I was using my laptop (HP PAVILION DV2519 TU) with winxp operating system. The problem here is that it is showing the message "Setup don't NOT FIND no matter WHAT DISK HARD ON YOUR COMPUTER" when I try to reformat my laptop and the installation progr

  • New options of Board of Directors system for w530

    Hi all - I've got w530 2436-CTO that probably needs a new main Board. He post, and when the memory is removed it gives a beep code manual says is the module DIMM or system board. I believe that my card system FRU is 04 x 1505, but I can't find anywhe

  • Facets ATG 10.2 question search

    Hi allWe use the version 10.2 ATG with ATG research and we get some strange problem aspects.Sometimes we go to a category and the facets appear correctly, the label of the facet and the values to refine the search.  But sometimes, in the same categor