Use appropriate method calls to get the alignment value.