TerSetSect
Set section parameters.
BOOL TerSetSect(hWnd, NumCols, ColSpace, NewPage)
BOOL TerSetSectEx(hWnd, NumCols, ColSpace, NewPage, FirstPageNo)
BOOL TerSetSect2(hWnd, NumCols, ColSpace, NewPage, FirstPageNo, FirstPageBin, NextPageBin)
BOOL TerSetSect2(hWnd, NumCols, ColSpace, NewPage, FirstPageNo, FirstPageBin, NextPageBin, SectId)
HWND hWnd; | Window handle to access |
int NumCols; | number of columns for the section. Set to 0 to show a user dialog. Set to -1 to leave this value unchanged. |
int ColSpace; | Space between the columns in Twips. |
BOOL NewPage; | TRUE to begin the section on a new page. |
int FirstPageNo; | Page number for the first page of the current section. Set to 0 to use default page numbering. |
int FirstPageBin; | / Bin selection to print the first page of this section. Set to -1 to leave this value unchanged. The bin selection constants are defined by Windows SDK as DMBIN_*** constants. |
int NextPageBin; | Bin selection to print the subsequent pages of this section. Set to -1 to leave this value unchanged. |
int SectId; | Section id (0 to TotalSect-1). Set to -1 to use the current section. |
Return Value: The function returns TRUE when successful.