Global Index (short | long) | Local contents | Local Index (short | long)
properties = getpp( target )
GETPP Get all PaperProperties. GPP( h ) returns structure with fields the names of paperproperites and values that of the object h.
This function calls | This function is called by |
---|---|
function properties = getpp( target ) % Copyright 1984-2000 The MathWorks, Inc. % $Revision: 1.2 $ $Date: 2000/06/01 02:54:04 $ if nargin == 0 if length( findall(get(0,'children'), 'type','figure') ) > 0 target = gcf; elseif ~isempty(gcs) target = gcs; else error('No target.') end end properties.paperpositionmode = getget(target,'paperpositionmode'); properties.paperposition = getget(target,'paperposition'); properties.paperorientation = getget(target,'paperorientation'); properties.paperunits = getget(target,'paperunits'); properties.papertype = getget(target,'papertype'); properties.papersize = getget(target,'papersize');