SftPrintPreview/DLL 2.0

GetOrientation

Softel vdm, Inc.

The GetOrientation function returns the current printer's page orientation.

C

int SftPrintPreview_GetOrientation(HWND hwndCtl);

C++

int CSftPrintPreview::GetOrientation() const;

Parameters

hwndCtl

The window handle of the Print Preview control.

Returns

The return value is DMORIENT_PORTRAIT (1) for portrait mode or DMORIENT_LANDSCAPE (2) for landscape mode.

Comments

The GetOrientation function returns the current printer's page orientation.

See Also  C/C++ API  |  C++ Classes  |  Notifications


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com