why invisible panel is visible while printing?

3 views (last 30 days)
Dominika
Dominika on 24 Jul 2014
Answered: Dominika on 25 Jul 2014
Hi,
I have 2 panels in my GUI overlapping each other, visibility of one of them is set to 'off', however when I print the figure both panels are visible. My code:
function Print_Callback(hObject, eventdata, handles)
% hObject handle to Print (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
orient landscape
printpreview(gcf)
printdlg(gcf);
Any ideas appreciated.
Thanks,
Dominika

Answers (1)

Dominika
Dominika on 25 Jul 2014
Anyone?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by