Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Oct 2, 2007
Size downloadDownloads : 2
Program licensing
Thank you for voting...

Have you ever created an object for your GUI using ...

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 by Jiro Doke.
GETINUNITS 1.0 Get object properties in specified units
V = GETINUNITS [getinunits1.0.exe](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 - 0MB(H, PROP) is the same as GET(H, PROP)
V = GETINUNITS 1.0(H, 'Position', 'Pixels')
V = GETINUNITS(H, {'FontSize', 'Position'}, 'Normalized')
V = GETINUNITS(H, {'FontSize', 'Position'}, {'Points', 'Pixels'})
matlab Release: R14SP2

GETINUNITS 1.0 scripting tags: cell, matlab, getinunitsh, property, development tools, object, position, get units, array, matlab units. What is new in GETINUNITS 1.0 software script? - Unable to find GETINUNITS 1.0 news. What is improvements are expecting? Newly-made GETINUNITS 1.1 will be downloaded from here. You may download directly. Please write the reviews of the GETINUNITS. License limitations are unspecified.