Share

AcString::asUHex

C++

Adesk::UInt32 asUHex(
    Adesk::UInt32 nFlags = kParseDefault
) const;

Description

Parses the current string as a hexadecimal and returns an Adesk::UInt32.

Parameters

Parameters Description
nFlags Input bits specifying how to do the parsing

Returns

The integer value parsed from the string.

Remarks

Works during getBuffer mode.

Links

AcString

Previous Declaration

AutoCAD 2024 and earlier

ACBASE_PORT unsigned int asUHex(int nFlags = kParseDefault) const;

History

AutoCAD 2025

nFlags argument changed from unsigned int to Adesk::UInt32 and function now returns Adesk::Int32 instead of unsigned int.

Was this information helpful?