Font.ConvPntToDim Method (Typed) | |
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
public virtual Dimension ConvPntToDim(
int nPntSize,
IntPtr hDCConv
)
Request Example
View SourceParameters
- 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