Hi,
auto textFrameFormat = shape->get_TextFrame()->get_TextFrameFormat();
auto anchor = textFrameFormat->get_AnchoringType();
get_Anchoring returns undefined for the attached presentation.
The set text vertical alignm…...are accessing the correct properties, you might want to check...will give you the actual properties that are applied to the text...