Method GetUnsignedInteger
GetUnsignedInteger(string, bool, uint)
Gets the unsigned integer value that corresponds to the specified key. If the key does not exist and create is false, the function returns the defaultValue. If the key does not exist and create is true, a direct value will be created using the defaultValue. If the key exists but the value is neither an integer nor a PDF reference to an integer, the function throws an InvalidOperationException.
public uint GetUnsignedInteger(string key, bool create = false, uint defaultValue = 0)
Parameters
keystringcreatebooldefaultValueuint
Returns
- uint