find "Use document size" options api

Hello everyone!
Does anyone know what the API is for the "Use document size" option in the part size setting UI page?