Documentation of setpp


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

setpp( target, properties )

Help text

SETPP Set all paper properties.
	SPP( h, properties ) set property values of h from fields in properties structure.

Cross-Reference Information

This function calls This function is called by

Listing of function setpp

function  setpp( target, properties )

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/01 02:54:05 $

if nargin ~= 2
    error('No target and/or properties.')
end

%maintain order, in case units were changed, and so mode ends up auto if that was the case
setset(target,'paperunits', properties.paperunits );
setset(target,'paperposition', properties.paperposition );
setset(target,'paperpositionmode', properties.paperpositionmode );
 
setset(target,'paperorientation', properties.paperorientation );
setset(target,'papertype', properties.papertype );

%Can't do this, yet
%setset(target,'papersize', properties.papersize );