55
Foxit Convert2PDF User Manual
www.foxitsoftware.com
35
wmemset(temp, 0 , MAX_LEGHT);
_itow(margin_top, temp ,DATA_RADIX);
strCommandline.append(temp).append(L" ");
if(margin_right >= 0)
{
wmemset(temp, 0 , MAX_LEGHT);
_itow(margin_right, temp ,DATA_RADIX);
strCommandline.append(temp).append(L" ");
if(margin_bottom >= 0)
{
wmemset(temp, 0 , MAX_LEGHT);
_itow(margin_bottom, temp ,DATA_RADIX);
strCommandline.append(temp).append(L" ");
}
}
}
}
}
if (fs>= 0)
{
wmemset(temp, 0, MAX_LEGHT);
_itow(fs, temp ,DATA_RADIX);
strCommandline.append(L"-fs ").append(temp).append(L" ");
}
if (R >= 0 && G >= 0 && B >= 0)
{
wmemset(temp, 0, MAX_LEGHT);
_itow(fontcolor, temp ,DATA_RADIX);
strCommandline.append(L"-fontcolor ").append(temp).append(L" ");
}
if (timeout>= 0)
{
wmemset(temp, 0, MAX_LEGHT);
_itow(timeout, temp ,DATA_RADIX);
strCommandline.append(L"-timeout ").append(temp).append(L" ");
}
if(singlepage) strCommandline.append(L"-singlepage").append(L" ");
if(nolink)
strCommandline.append(L"-nolink").append(L" ");
if (rotate>= 0)
{
wmemset(temp, 0, MAX_LEGHT);
_itow(rotate, temp, DATA_RADIX);
strCommandline.append(L"-rotate ").append(temp).append(L" ");
}
if(checklazyload) strCommandline.append(L"-checklazyload").append(L" ");
if(scale >= 0)
{
wmemset(temp, 0, MAX_LEGHT);
_itow(scale, temp, DATA_RADIX);
strCommandline.append(L"-scale ").append(temp).append(L" ");
}