ExpertXls Excel Library for .NET
WidthCharsToPixels Method (widthChars)
Namespaces ► ExpertXls.ExcelLib ► ExcelUnitsConverter ► WidthCharsToPixels(Double)
ExpertXls Excel Library for .NET
Converts width characters in pixels. A value in width characters represents the number of characters that can be displayed in a cell that is formatted with the standard font.
Declaration Syntax

C# | Visual Basic | Visual C++

    public double WidthCharsToPixels(
    	double widthChars
    )

    Public Function WidthCharsToPixels ( _
    	widthChars As Double _
    ) As Double

    public:
    double WidthCharsToPixels(
    	double widthChars
    )

Parameters

widthChars (Double)
  The value in width characters

Return Value
The value in pixels

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)