현재 문서를 미리보기로 보고 싶습니다.
현재 문서를 미리보기로 보고 싶습니다.
현재 설정된 탭을 미리보기로 전환한다.
Public Function IMthDocumentPreView() As Boolean
Dim action As HwpAction
Dim paramSet As HwpParameterSet
On Error GoTo IMthDocumentPreView_Error
Set action = ctlWordian(tabHwp2002.SelectedItem.Index).CreateAction("Print")
Set paramSet = ctlWordian(tabHwp2002.SelectedItem.Index).CreateSet("Print")
action.GetDefault paramSet
paramSet.SetItem "Device", 4
action.Execute paramSet
Set action = Nothing
Exit Function
IMthDocumentPreView_Error:
MsgBox "IMthDocumentPreView_Error"
End Function