ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDF_sysencoding_get_writing_mode
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_SYSENCODING > IG_PDF_sysencoding_get_writing_mode

Returns writing mode in lpnWritingMode; 0 for horizontal writing, and 1 for vertical writing.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_sysencoding_get_writing_mode(
        HIG_PDF_SYSENCODING hSysEncoding,
        LPSHORT lpnWritingMode
);

Arguments:

Name Type Description
hSysEncoding HIG_PDF_SYSENCODING An encoding object.
lpnWritingMode LPSHORT 0 for horizontal writing, and 1 for vertical writing.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.