3.1.42 SetFormalCharge

virtual bool SetFormalCharge(int charge)

Set the formal charge of an atom. The default value is zero. The formal charge property may be retrieved using the OEAtomBase::GetFormalCharge method.