<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Ink Picture Control &gt; Flatten Digital Ink Signature</title><link>https://www.infopathdev.com:443/forums/thread/77746.aspx</link><pubDate>Thu, 19 Apr 2012 13:53:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77746</guid><dc:creator>QuinnDawg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77746.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=77746</wfw:commentRss><description>&lt;p&gt;Infopath 2007, trying to follow the instructions listed here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/ms812501.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms812501.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;// User is done signing -- lock down the control.&lt;br /&gt;inkPicture1.InkEnabled = false;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;My&amp;nbsp;newbie question and forgive me if it&amp;#39;s painfully obvious and I&amp;#39;m missing it...but the&amp;nbsp;instructions start with the control already captured in an object.&amp;nbsp; How do&amp;nbsp;I get a handle of the control?&amp;nbsp; Do I&amp;nbsp;need to add a Reference? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried &lt;/p&gt;
&lt;p&gt;XPathNavigator, root, inkPic;&lt;/p&gt;
&lt;p&gt;root = this.MainDataSource.CreateNavigator();&lt;/p&gt;
&lt;p&gt;inkPic = root.SelectSingleNode(&amp;lt;XPath Source&amp;gt; , NamespaceManager);&lt;/p&gt;
&lt;p&gt;// I get a handle of the&amp;nbsp;control, but&amp;nbsp;when I try this&lt;/p&gt;
&lt;p&gt;inkPic.InkEnabled&amp;nbsp;= false;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;// I get this error - &amp;nbsp;System.Xml.XPath.XPathNavigator does not contain a definition for &amp;#39;InkEnabled&amp;#39;&lt;br /&gt;Thanks for any help.&lt;/p&gt;</description></item></channel></rss>