High-performance .NET C# HTMLparser Library |
|
HTMLparser.CalculateWidth Method
Parses WIDTH param and calculates width
public static
int CalculateWidth(
string sWidth,
int iAvailWidth,
ref
bool bRelative);
Parameters
-
sWidth
- WIDTH param from tag
-
iAvailWidth
- Currently available width for relative calculations, if negative width will be returned as is
-
bRelative
- Flag that will be set to true if width was relative
Return Value
Width in pixels
See Also
HTMLparser Class | Majestic12 Namespace