Hide

SftPrintPreview/DLL 2.0 - Print Preview Control for C/C++

Display
Print

GetOrientation Function

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.