Click or drag to resize

Font.ConvPntToDim Method (Typed)

X#
Convert a specified point size for the font into a Dimension object.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD ConvPntToDim(
	nPntSize AS LONG,
	hDCConv AS IntPtr
) AS Dimension
Request Example View Source

Parameters

nPntSize
Type: Long
Windows font point size.
hDCConv
Type: IntPtr
Handle of the device-context for which to convert the point size. If omitted, defaults to the window canvas.

Return Value

Type: Dimension
The Dimension object representing the specified point size.
Remarks
This method converts a Windows font point size to the appropriate X# Dimension object for drawing on a window canvas.
See Also