We determine experimentally the spin structure of half-metallic Co2FeAl0.4Si0.6 Heusler alloy elements using magnetic microscopy. Following magnetic saturation, the dominant magnetic states consist of quasi-uniform configurations, where a strong influence from the magnetocrystalline anisotropy is visible. Heating experiments show the stability of the spin configuration of domain walls in confined geometries up to 800 K. The switching temperature for the transition from transverse to vortex walls in ring elements is found to increase with ring width, an effect attributed to structural changes and consequent changes in magnetic anisotropy, which start to occur in the narrower elements at lower temperatures. (C) 2011 American Institute of Physics. [doi: 10.1063/1.3657828]