swControlType_Button in PMPs

Hi,

  I am creating a PMP and I want to center the caption inside the swControlType_Button. How is the alignment of the text set?

         control_type = (int)swPropertyManagerPageControlType_e.swControlType_Button;

         m_box_reset_button = (PropertyManagerPageButton)m_clip_definition_group.AddControl((int)ControlIDs.BoxResetButtonID, control_type, "Reset",(int)swPropertyManagerPageControlLeftAlign_e.swControlAlign_LeftEdge,(int)swAddControlOptions_e.swControlOptions_Visible | (int)swAddControlOptions_e.swControlOptions_Enabled,"");

Thanks,

  Geoff

SolidworksApi macros