Exemplo n.º 1
0
        /// <summary>
        /// Change viewport orientation.
        /// </summary>
        /// <param name="form">The Form to be updated.</param>
        /// <param name="rotation">Label line rotation.</param>
        public void SetRotation(AllViewsForm form, ViewportRotation rotation)
        {
            using (Transaction t = new Transaction(m_doc, "Change label orientation"))
            {
                t.Start();

                m_VP.Rotation = rotation;

                t.Commit();

                UpdateViewportProperties(form);
            }
        }
Exemplo n.º 2
0
 private void counterClockWiseRadioButton_CheckedChanged(object sender, EventArgs e)
 {
     m_setRotation = ViewportRotation.Counterclockwise;
 }
Exemplo n.º 3
0
 private void noneRadioButton_CheckedChanged(object sender, EventArgs e)
 {
     m_setRotation = ViewportRotation.None;
 }