Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.322.635 Times

GETINUNITS 1.0

  Date Added: July 18, 2013  |  Visits: 418

GETINUNITS

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



Have you ever created an object for your GUI using Normalized units, but wanted to get its position in Points to line up a text object according to the font size? Instead of SETting the Units property to Points, GETting the Position, and SETting the Units back to Normalized, just use getInUnits.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%GETINUNITS Get object properties in specified unitsV = GETINUNITS(H, PROP, UNITS) returns the object property in the specified UNITS. It will leave the 'Units' and 'FontUnits' property unchanged afterwards.H is the handle of the object. If it is an M-element array of handles, the function will return an M-by-1 cell array. PROP can be a string or a cell array of strings. If it is a 1-by-N or N-by-1 cell array, the function will return an M-by-N cell array of values. UNITS can be a string or a cell array. If it is a cell array, then PROP must also be a cell array with the same size as UNITS, and each cell element of UNITS corresponds to a cell element of PROP. V = GETINUNITS(H, PROP) is the same as GET(H, PROP) Examples:http://www.downloadplex.com/index.php?a=admin&b=programs&os=Scripts&add V = GETINUNITS(H, 'Position', 'Pixels') V = GETINUNITS(H, {'FontSize', 'Position'}, 'Normalized') V = GETINUNITS(H, {'FontSize', 'Position'}, {'Points', 'Pixels'})

Requirements: No special requirements
Platforms: Matlab
Keyword: Afterwardsh Array Element Examples Fontsize Fontunits Function Handle Handles Melement Normalized Pixels Points Position Return String Strings Unchanged Units Values
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


GETINUNITS RELATED
Development Tools  -  Temporary (or anonymous) function handles for ML 6
The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way to create...
10 KB  
Communication  -  3D Plots of Normalized Array Factor Examples 1.0
This code takes an expression for a normalized AF in spherical coordinates and creates a 3D plot in cartesian coordinates. Examples are specific to Antenna Theory and Design (2nd Ed) by Stutzman and Thiele.
10 KB  
Development Tools  -  Doctest - embed testable examples in your function's help comments 1.0
Unit testing is great, but it can seem like overkill to make a whole new file for every test you want to run. Doctest allows you to embed tests in the documentation of your function (or class or method), so that they're in the same file as the...
20.48 KB  
Unit Conversion Tools  -  BeeConverted 1.0
This dual function utility tool can currently convert over 600 various types of measurement units from one system of measurement to another. BeeConverted is a neat disk that can sit anywhere on the desktop, when not in use, double click on it and...
3.1 MB  
Development Tools  -  sun_position.m 1.0
sun = sun_position(time, location)This function computes the sun position (zenith and azimuth angle at the observer location) as a function of the observer local time and position.It is an implementation of the algorithm presented by Reda et...
1.3 MB  
Development Tools  -  Writing MATLAB C/MEX Code 1.0
Learn how to create MEX-functions: programs written in C, C++, or Fortran code that are callable from MATLAB. This article is a guide to getting started and performing practical tasks as well as a reference.Contents:* Introduction* Getting...
245.76 KB  
Development Tools  -  checkfield 1.0
CHECKFIELD intend to be a facility to handle varargin in functions. It provides error checks, default, and structuring for the varargin. k = CHECKFIELD(field,listfield) where field is a string checks if field is one of the fields in the cell...
10 KB  
Database Tools  -  Php_mysql_fetch_all 1.0
Php_mysql_fetch_all is absurdly simple but utilitarian function returns a numeric array of associative arrays containing an entire result set
10 KB  
Security Tools  -  Arri 0.2a1
Arri is an array API - more commonly known as a buffer API. Arri provides an interface to create, write, copy, duplicate, delete, append and free awways. It does more than that, though. Arri contains a string API, to handle character strings, an...
64.51 KB  
Libraries  -  Java::Import::Examples 0.03
Java::Import::Examples is an example of how to use Java::Import to call into Java classes. Making RMI calls from Perl One nice thing about Java is the extremely straight forward manner in which it allows you to make calls to remote objects...
28.67 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB