www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcmultiview/@ViewContainer/canPrint.m

    function out = canPrint(obj)
%CANPRINT Check whether component can be printed
%
%  CANPRINT(OBJ) calls canPrint on the contained view.

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


if ~isempty(obj.View)
    out = obj.View.canPrint;
else
    out = false;
end