Exemple #1
0
 public bool ScaleSize(string entityName, double ScaleX, double ScaleY)
 {
     if (axScSamlightClientCtrl1.ScIsRunning() == 0)
     {
         MessageBox.Show(MultiLanguage.GeSamlightNotFoundString(), MultiLanguage.GeSamlightWarningString(), MessageBoxButtons.OK);
         //MessageBox.Show("SAMLight not found", "Warning", MessageBoxButtons.OK);
         return(false);
     }
     else
     {
         axScSamlightClientCtrl1.ScScaleEntity(entityName, ScaleX, ScaleY, 0);
         return(true);
     }
 }
Exemple #2
0
 private void BUTTON_SCALE_Click(object sender, EventArgs e)
 {
     m_samlight.ScScaleEntity(EDIT_ENTITY_NAME.Text, Convert.ToDouble(EDIT_X.Text, CultureInfo.InvariantCulture), Convert.ToDouble(EDIT_Y.Text, CultureInfo.InvariantCulture), Convert.ToDouble(EDIT_Z.Text, CultureInfo.InvariantCulture));
 }