IUIX_Inst::CalcLabelIdealSize Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CalcLabelIdealSize([in]                      LONGLONG    nStyle,
                           [in]                      LONG        nClientWidth,
                           [in]                      LPWSTR      sText,
                           [in]                      LONG        nDrawTextFlags,
                           [in, defaultvalue(NULL)]  IUIX_Font*  pFont,
                           [out, retval]             SIZE*       pIdealSize);

Parameters

nStyle
[in] Value of LONGLONG.
nClientWidth
[in] Value of LONG.
sText
[in] Value of LPWSTR.
nDrawTextFlags
[in] Value of LONG.
pFont
[in, defaultvalue(NULL)] Pointer to IUIX_Font.
pIdealSize
[out, retval] Pointer to SIZE.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_Inst