title: Why ActualWidth and ActualHeight start from 0,0?
body: <p>I want to add WPF Path to <code>InkCanvas</code> and use selection to select WPF Path. 
  So, I use this code.</p>
  
  <pre><code>System.Windows.Shapes.Path path = drawCanvas.Children[i] as System.Windows.Shapes.Path;    
  drawCanvas.Children.RemoveAt(i);
  inkCanvas.Children.Add(path);
  </code></pre>
  
  <p>This is the output. I have to select WPF Path from 0,0 because <code>Actualwidth</code> and <code>ActualHeight</code> start from 0,0.   </p>
  
  <p><img src="https://i.stack.imgur.com/QVPxy.jpg" alt="alt text"></p>
  
  <p>How do I select absolute WPF Path?</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Now, I can select it absolutely by using this code.</p>
  
  <pre><code>System.Windows.Shapes.Path path = drawCanvas.Children[i] as System.Windows.Shapes.Path;
  drawCanvas.Children.RemoveAt(i);
  path.Margin = new Thickness(-getMinX(path), -getMinY(path), 0, 0);
  containPath.Children.Add(path);
  containPath.Width = getMaxX(path) - getMinX(path);
  containPath.Height = getMaxY(path) - getMinY(path);
  containPath.Margin = new Thickness(getMinX(path), getMinY(path), 0, 0);
  inkCanvas.Children.Add(containPath);
  </code></pre>