Click or drag to resize

Font.ConvPntToDim Method

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

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD ConvPntToDim(
	nPntSize,
	hDCConv
) AS USUAL CLIPPER
Request Example View Source

Parameters

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

Return Value

Type: Usual
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