How can I zoom and span a bitmap in a CWGraph ?

How can I display a bitmap and attach it to a CWPlot of a CWGraph, such that zooming or spanning will affect CWPlot and the bitmap together ?

The feature you are inquiring about does not exist in the CWGraph control. Panning and Zooming the PlotArea in CWGraph does not affect the PlotAreaImage at all.
However, you could possibly programmatically catch the mouse events on the PlotArea and work with the CWGraph.PlotAreaImage.CWImage.AnimateColumns/AnimateRows attributes to run through different frames of the bitmap to make it look like it is zooming in on the bitmap. I've tried this myself and it seems to only be effective on a bitmap with a repeating pattern (I used a checkerboard pattern), because no matter where you go on the bitmap it looks the same, and increasing the number of animated columns and rows creates a zooming effect. The one problem with using a non-repeating pattern bitmap and this tech
nique is that you can't control where the animation stops or reference a certain animation column and row to represent the area on the bitmap you want to zoom in on. So in short this probably won't do much for you, but it is most likely the only option you have. To see an illustration of how the CWImage.AnimateColumns/AnimateRows attributes effects a CWImage object take a look at the MeasurementStudio\VB\Samples\UI\Button\Simple Button\Button.vbp example program and pay special attention to the command button with the doughnut image on it.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask

Similar Messages

  • How can I move and scale my photos

    How can I move and scale my photos so that I can use them for wallpaper?  After update, I'm no longer able to do this as much as I need to.  They just pop back to their original size or larger.

    You will either need to turn Settings > General > Accessibility > Reduce Motion 'on', or create a higher resolution versions of your images
    From http://support.apple.com/kb/HT5595 :
    When the parallax effect is on, you may notice the following:
    Wallpaper, icons, and alerts shift slightly as you move your phone.
    When you set a wallpaper in Settings > Wallpapers & Brightness, the photo or image will be slightly zoomed and can't be scaled to fit the screen.
    If you zoom in, you will need to rescale your wallpaper to fit to the screen. You can't rescale certain photo formats, including landscape or square images.

  • How can the symbol and non-English diacritical marking, etc accessed with combinations of letters and functional keys prior to Snow Leopard be achieved in Snow Leopard?

    How can the symbol and non-English diacritical marking/punctuation pallet, available in pre-Snow Leopard OSes with various combinations of letter or number keys and functional keys, be accessed in Snow Leopard?  Those pre-Snow Leopard versions worked on the fly as one was making text in any pedestrian application and its native font (Mail, Text Edit, for example).  One didn't need to dig around in font libraries, change font preferences, etc.

    > One didn't need to dig around in font libraries, change font
    > preferences, etc.
    It hasn't worked like that since the Early Chalcolithic (ie, System 7 or thereabouts).
    You've already got plenty of answers. Briefly (and grossly oversimplified),
    - Mac OS X conforms to a standard known as Unicode; in its current incarnation, it defines over 100k characters.
    - A keypress is translated into a character according to the current keyboard layout.
    - The graphic representation of a character (ie, glyph), is provided by the current font.
    - If a font lacks a glyph for the requested character, either another font will be automatically chosen (Mac OS X text engine), or some form of feedback (empty box, question mark, etc) will be used.
    - To inspect the actual key codes, use a utility such as Key Codes.
    - To inspect the current keyboard layout, invoke Keyboard Viewer.
    - To inspect the full complement of glyphs of a font, invoke Character Viewer (also accessed with the Special Characters command).
    (Remember that both these utilities are resizable and zoomable -- you can enlarge them to a comfortable viewing size, then zoom out to see more of the screen for your original task.)
    - For a more detailed look, use a utility such as UnicodeChecker.
    - The default keyboard layout depends on your Mac OS X localisation.
    (Keep in mind that there's no need to stick with the default layout; choose whichever one makes sense to you, given your language, habits, and proclivities. Mac OS X comes bundled with quite a few, including some obviously designed for the huddled masses of refugees from the Dark Side, who, in their wretched ignorance, have the unmitigated gall of labelling our native ways "really uncomfortable". Oh well, this, too, shall pass.
    If none of the supplied keyboard layouts fits your needs -- if, for instance, you write your emails in Etruscan -- go out on the 'net, you'll find quite a few. Or write your own with Ukulele, it's not really all that difficult.)
    - Use Keyboard Viewer to familiarise yourself with the current layout and to enter the odd character; but, to be proficient, you should learn your layout to the point that KV is no longer needed.
    - Use Character Viewer to enter the odd character not available in the current keyboard layout.
    Neither Keyboard Viewer nor Character Viewer are effective tools for more extensive needs, eg, for writing and editing bilingual or multilingual texts. In such a case, you should enable the respective keyboard layouts and switch between them with a keyboard shortcut.
    A few interesting layouts bundled with Mac OS X have already been mentioned. Let me add three.
    - Dvorak: several layouts based on the Dvorak keyboard. It is claimed that the latter is more productive and lessens RSI risk.
    - US Extended: based on QWERTY, it offers a more extensive set of diacritics (eg, caron, breve) via dead keys.
    - Unicode Hex Input: also based QWERTY, it allows input by Unicode codepoint (in hexadecimal), so it's the most extensive layout of all; eg, to enter the character "Parenthesized Number Twelve" (U+247F), hold down Option, type "247f", release Option.

  • How can I use Local SPAN with RSPAN ??

    How can I use Local SPAN with RSPAN ??
    I want to mirror traffics from ISP-A and ISP-B to Anomaly-detector module.
    so I had configured like this...
    C6500-A
    vlan 1000
    name RSPAN
    remote-span
    monitor session 10 source interface Gi5/1 - 2 rx
    monitor session 10 destination remote vlan 1000
    monitor session 20 destination anomaly-detector-module 3 data-port 1
    monitor session 20 source remote vlan 1000
    interface GigabitEthernet1/13
    switchport
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 1000
    switchport mode trunk
    no ip address
    C6500-B
    vlan 1000
    name RSPAN
    remote-span
    monitor session 10 source interface Gi5/1 - 2 rx
    monitor session 10 destination remote vlan 1000
    interface GigabitEthernet1/13
    switchport
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 1000
    switchport mode trunk
    no ip address
    end
    but it was not working..
    it wasn't any change of input packet hit count when
    I'd enter a command 'show anomaly-detector module 3 data-port 1 traffic'
    was upper configuration wrong..?
    Can I use VACL configuration ?

    try to change "monitor session 10 destination remote vlan 1000 " to "monitor session 10 destination anomaly-detector-module 3 data-port 1 " on C6500-A

  • How can I zoom between 50% to 100%

    How can I zoom between 50% to 100%
    50% is too small while 100% is too big
    Because my Comp height and width is very different , fit is not useful for me
    so do anyone know how can I zoom between 50% to 100% ?

    Post the code you currently have

  • How can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it

    how can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it.  i design patterns but am fairly new to photoshop. i used to be able to click on the drop down menu in patterns in the 'fill' box but cannot now do this.  have i inadvertently clicked on something to turn this facility off?  i now have to go to 'preset manager' and manually move my new design to the first box and click 'done' so that i can use it.

    Which version of photoshop are you using?
    After you define a custom pattern it should be added to the bottom of whatever patterns are already loaded.
    For example, if you define a custom pattern and then go to Edit>Fill>Pattern, the newly defined pattern should have been added to the existing loaded patterns.

  • How can I open and close private browsing using an IPAD mini in IOS 7?

    How can I open and close private browsing using an iPad mini in ios7?

    Tap the '+' to the right of the URL field to open a new tab, and at the bottom left of the screen there should be a 'Private' button - tap that and you can then go to the site that you want to go to

  • How can I open and print a unix E....le file

    how can I open and print a unix E...le file

    We have no idea what you're referring to. If you know how to use Terminal and the file has been compiled then it may run.

  • How to add zooming and printing in e-magazine created by indesign?

    Could you please give ma an advise me how to add zooming and printing in e-magazine created by indesign? Many thanks

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • When I try to get on the internet thru safari at home, on my network, I get a pop up that says Safari cannot open the page because it is not connected to the Internet.  How can this be and how do I fix it?

    when I try to get on the internet thru safari at home, on my network, I get a pop up that says Safari cannot open the page because it is not connected to the Internet.  How can this be and how do I fix it?

    Does the iPod connect to other networks?
    Do other device connect?
    Did the iPod connect to this network before?
    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>GeneralReset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • I can't update IPhoto, it says "the product distribution file could not be verified it must be damaged or signed in" I bought it on iTunes and have 8,000 photos already. how can I update and correct this??

    I can't update IPhoto, it says "the product distribution file could not be verified it must be damaged or signed in" I bought it on iTunes and have 8,000 photos already. how can I update and correct this??

    You might try resetting the App Store application and clear the cookies via this menu:
    as described in this website: Make use of the Mac App Store debug menu | MacFixIt - CNET Reviews
    OT

  • How can my wife and I share cloud with 2 different login's

    How can my wife and I share cloud with 2 different login's

    If you each have separate iCloud accounts with different IDs, you can add the other person's account to your device(s) by going to Settings>Mail,Contacts,Calendars>Add Account>iCloud and signing in with their ID.  These "secondary accounts" will sync mail, contacts, calendars, reminders and notes.

  • How can my wife and I share iBooks on each of our iPads?

    How can my wife and I share iBooks on each of our iPads?

    LeeDribin wrote:
    How can my wife and I share iBooks on each of our iPads?
    Not sure this helps in your case, but worth a look perhaps:
    http://www.mcelhearn.com/os-x-10-9-mavericks-sharing-your-ibooks-library/

  • How can my wife and I use our two iTunes account on one iPad

    How can my wife and I use our two iTunes accounts on one IPad

    Unfortunately it will be difficult. iPads are personal devices like phones and done have credentials. You can of course log out of and into the app store to download purchased apps but the iPad will then have all the apps of both your wife and you (though you could put these into folders I guess).
    /H

  • How can my wife and I be friends in game center if we use the same Itunes account?

    How can my wife and I be friends in game center if we use the same Itunes account?

    You can set up multiple accounts in Game Centre, sign out and create new account. You just need a different email address from any existing Apple ID's and a new password. You can still use the old account for purchases.

Maybe you are looking for