[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IGraphicsInfo

Interface IGraphicsInfo

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Provides graphics information.

public interface IGraphicsInfo

Methods

GetDigitWidth(TextFormatInfo)

Gets the maximum width of 0~9 digits in device independent pixel.

double GetDigitWidth(TextFormatInfo textFormat)

Parameters

textFormat TextFormatInfo

Text formats

Returns

double

The maximum width of 0~9 digits.

Remarks

Useful formulas for wrapping native implementation which returns pixels:

[Device independent pixel] = Pixel / [DPI Scale]

[DPI Scale] = DPI / 96