Home|Download|Buy online|Affiliates|Search|Feedback|Site Map|ReviewsUse our online RSS & XML news feeds to get the latest news about our products delivered to your desktop... RSS feed    04.02.2012
Home»BestView preview library»SDK»Exported functions
Find out more how to use BestView...
bvCalculateFontSize

bvCalculateFontSize

This helper function calculates the font size (from points) for preview window.

BESTVIEWAPI(LONG) bvCalculateFontSize(float fSize);

Parameters:

  • fSize - the size of the font, in points

Return value: the calculated size of the font. The size is calculated using next formula: size=(LONG) ceil(fSize*2540.0/72.0+0.5);

Valid HTML 4.01 Transitional© PVL team, 2004-2012, all rights reserved. This Web site and its entire contents are for personal use only and may not be copied, reproduced, modified, published or distributed in any way,without PVL team's prior written permission.