VpeSetTab

<< Click to Display Table of Contents >>

Navigation:  RTF Functions >

VpeSetTab

Previous pageReturn to chapter overviewNext page

Sets an individual RTF tab position. You may specify as many tab positions as you like.

void VpeSetTab(

VpeHandle hDoc,

VpeCoord tab_position,

int reserved

)

VpeHandle hDoc

Document Handle

VpeCoord tab_position

tab position

int reserved

for future use and should be set to zero

Example:

VpeSetTab(hDoc, 1)

VpeSetTab(hDoc, 2)

VpeSetTab(hDoc, 5)

Sets three individual tab positions at 1cm, 2cm and 5cm

 

VpeClearTab(hDoc, 2)

Removes the tab-stop at position 2cm (which was previously set by VpeSetTab()).

 

See also:

"RTF - Rich Text Format" in the Programmer's Manual