clsCommonWrapper.CalculateTextRectSize MethodCalculates the size of a string in a given rectangle, always uses [eCtlDrawTextFormat].CTL_DT_CALCRECT and [eCtlDrawTextFormat].CTL_DT_WORDBREAK flagsSyntax
Public Sub CalculateTextRectSize (ByVal lHdc As Long, _
ByRef sText As String, _ ByVal X1 As Long, _ ByVal y1 As Long, _ ByVal X2 As Long, _ ByVal y2 As Long, _ ByVal lAdditionalFlags As Long, _ ByRef retWDim As Long, _ ByRef retHDim As Long) Parameters
Remarks
moCW.CalculateTextRectSize lHdcDest, sText, 0, 0, 1, 1, 0, wBox, hBox |