Size-dependent magnetic properties in nanoplatelets