SetMargins

Return to Introduction  Previous page  Next page

This method is used to set the top,left,right and bottom-margins. All margins are in pixels.

 

 

Prototype:

SetMargins(LONG nLeftMargin, LONG nTopMargin, <LONG nRightMargin>, <LONG nBottomMargin>)

 

Arguments:

nLeftMargin                Left marign

nTopMargin                Top margin

nRightMargin                Right margin

nBottomMargin        Spacing between headers

 

Example:

TaskPanel5.SetMargins(0,0,0,0)        !No margins

 



Direct link to this page on our website: http://www.icetips.com/manuals/xptaskpanel/setmargins.htm