I have below code to open visualforce page from lightning component. But if i open vf page from lightning showHeader should set it as false. Is it possible to achieve this?
window.open('/apex/OpenVFPage');
Not directly, but you could use a page parameter:
<apex:page showHeader="{!$CurrentPage.parameters.showHeader != 'false'}">
Which you can then set via a URL parameter:
window.open('/apex/OpenVFPage?showHeader=false');
isdtp=mn
, but this will have other side effects as well.