<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Microsoft Expression, Digital Memories, Media and other fun stuff</title><link>http://blogs.msdn.com/jrowe/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Themed Applications using Resource Dictionaries in Expression Interactive Designer</title><link>http://blogs.msdn.com/jrowe/archive/2006/05/23/605635.aspx</link><pubDate>Wed, 24 May 2006 00:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605635</guid><dc:creator>jrowe</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/jrowe/comments/605635.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrowe/commentrss.aspx?PostID=605635</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Switching themes in an application can be achieved by creating multiple external resource dictionaries and ensuring that styles and/or templates defined in these resource dictionaries contain identical names.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The following example demonstrates how to switch “the look” of your application on the fly:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;The sample walks through creating two styles for a button. Each style has the same name and same target, but the different “same named” styles are stored in two separate resource dictionaries. The application can then switch the style of the button&amp;nbsp;at run time by loading and unloading respective resource dictionaries:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Setting up:&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;Launch Expression Interactive Designer 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;File-&amp;gt;SaveProjectAs: “ThemeSwitching” 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;Create 2 external resource dictionaries by clicking File-&amp;gt;New-&amp;gt;ResourceDictionary twice. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;Expand the Project Palette and notice the new ResourceDictionary1.Xaml in the list of files 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;Rename “ResourceDictionary1.Xaml” to “ResourceGreen.xaml” and ResrouceDictionary2.Xaml to “ResourceBrown.Xaml” 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;Ensure the Resource Palette is viewable (View-&amp;gt;Resources) 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l2 level1 lfo1; tab-stops: list .5in"&gt;On the resource palette, click “Link To Resources” and select “ResourceGreen.xaml” &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;and “ResourceBrown.Xaml”&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"&gt;&lt;/v:path&gt;&lt;o:lock v:ext="edit" aspectratio="t"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;A href="/photos/jrowe/picture605629.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/605629/218x318.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&lt;A href="/photos/jrowe/picture605629.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Creating a Theme with a style stored in a resource dictionary:&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;Draw a button on the scene 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;Rename the button “greenThemeButton” and change the button content to “Switch to Green” rather than “Button”. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;Right mouse click the greenThemeButton in the timeline and click: Edit Style-&amp;gt;Edit a Copy of&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;the Style to bring up the Create Style Resource Dialog 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;On the Create Style Resource Dialog, Set “Define in:” option to be “other document” and select “ResourceGreen.xaml” from the dropdown.&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;A href="/photos/jrowe/picture605628.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/605628/453x214.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=5&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in; mso-layout-grid-align: none"&gt;After accepting the Create Style Resource Dialog, Interactive Designer leaves you in Style Editing Mode. Using the appearance palette, change the back color of the button to be green. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in; mso-layout-grid-align: none"&gt;Now switch back to Window1.xaml and notice the button style has been applied to “greenThemeButton”&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Creating a second theme:&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;First, break the current link to “greenThemeButton” by going to the Resources palette and deleting the link.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A dialog will appear asking what to do with the style from ResourceGreen.xaml that is currently applied to greenThemeButton. Click the “Don’t fix” option. After accepting the dialog, notice that the button is no longer green. This is expected and will reappear whenever we reestablish the link to the ResourceGreen.xaml resource. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;Draw a second button on the scene and change the button content to “Switch to Brown” rather than “Button”. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;Rename the button “brownThemeButton” and 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;Right mouse click the brownThemeButton in the timeline and click: Edit Style-&amp;gt;Edit a Copy of&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;the Style to bring up the Create Style Resource Dialog 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;On the Create Style Resource Dialog, Set “Define in:” option to be “other document” and this time select “ResourceBrown.xaml” from the dropdown so that the style is saved in the ResourceBrown.Xaml dictionary. IMPORTANT: be sure to name the key “ButtonStyle1” just as it was in the ResourceGreen.xaml. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;Using the appearance palette, change the buttons background to be a brown color. 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l3 level1 lfo3; tab-stops: list .5in"&gt;Switch back to the design view of Window1.xaml. Note that both buttons are now brown. This is because each button has “ButtonStyle1” applied to it. &lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in"&gt;To test resource switching at design time, try the following:&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo4; tab-stops: list .5in"&gt;Delete the link to the ResourceBrown.Xaml in the Resources palette, 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo4; tab-stops: list .5in"&gt;Now link to ResourceGreen.xaml – the buttons will now turn green.&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;To get the buttons to do the switching at run-time, from the project palette double click window1.xaml.cs to open an external code editor and paste the following code inside the Window1 class:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;public&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; Window1()&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.InitializeComponent();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;// Insert code required on object creation below this point.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;this&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;.greenThemeButton.Click += &lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.SwitchTheme;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.brownThemeButton.Click += &lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.SwitchTheme;&lt;SPAN style="COLOR: green"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;private&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; SwitchTheme(&lt;SPAN style="COLOR: blue"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="COLOR: teal"&gt;EventArgs&lt;/SPAN&gt; e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;string&lt;/SPAN&gt; source = &lt;SPAN style="COLOR: blue"&gt;null&lt;/SPAN&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;if&lt;/SPAN&gt; (sender == &lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.greenThemeButton)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;source = &lt;SPAN style="COLOR: maroon"&gt;"ResourceGreen.xaml"&lt;/SPAN&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;else&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;if&lt;/SPAN&gt; (sender == &lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.brownThemeButton)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;source = &lt;SPAN style="COLOR: maroon"&gt;"ResourceBrown.xaml"&lt;/SPAN&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;if&lt;/SPAN&gt; (source != &lt;SPAN style="COLOR: blue"&gt;null&lt;/SPAN&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: teal"&gt;ResourceDictionary&lt;/SPAN&gt; resourceDictionary = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; &lt;SPAN style="COLOR: teal"&gt;ResourceDictionary&lt;/SPAN&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;resourceDictionary.Source = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; &lt;SPAN style="COLOR: teal"&gt;Uri&lt;/SPAN&gt;(source, &lt;SPAN style="COLOR: teal"&gt;UriKind&lt;/SPAN&gt;.Relative);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;// if you want to have application level resources (rather than just window), change this.Resources to Application.Current.Resources&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.Resources.MergedDictionaries.Clear();&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 4"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;this&lt;/SPAN&gt;.Resources.MergedDictionaries.Add(resourceDictionary);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=605635" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrowe/archive/tags/Interactive+Designer/default.aspx">Interactive Designer</category></item><item><title>Path Editing: Tips for adjusting tangents using the March CTP of Expression Interactive Designer</title><link>http://blogs.msdn.com/jrowe/archive/2006/03/16/553291.aspx</link><pubDate>Fri, 17 Mar 2006 01:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:553291</guid><dc:creator>jrowe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jrowe/comments/553291.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrowe/commentrss.aspx?PostID=553291</wfw:commentRss><description>&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;FONT color=#000000&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: black"&gt;&lt;STRONG&gt;&lt;FONT size=3&gt;Path Editing tips for adjusting tangents using the&amp;nbsp;March CTP of&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;A href="http://www.microsoft.com/products/expression/en/interactive_designer/id_free_trial.aspx"&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;Microsoft Expression Interactive Designer&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;FONT size=4&gt;Adjusting tangents using the sub select tool:&lt;/FONT&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;SPAN style="COLOR: green"&gt;Clicking and dragging tangents with the sub select tool:&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;Clicking and dragging a tangent adorner will also adjust the direction of the adjacent tangent if and only if the two tangents lie in opposite directions (within 0.25 degrees) when the mouse button is first pressed.&amp;nbsp; If the two tangents are not lined up when the mouse goes down, the adjacent tangent will not be changed.&amp;nbsp; Thus, if you drag a tangent at a sharp corner, only one tangent moves; if you drag a tangent at a smooth point, both tangents move.&amp;nbsp; &lt;BR&gt;&lt;BR style="mso-special-character: line-break"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: green"&gt;&lt;FONT size=3&gt;How to adjust adjacent tangents equally in size and direction with the sub select tool:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;I style="mso-bidi-font-style: normal"&gt;&lt;FONT size=3&gt;Press alt and hover over a point, then click &amp;amp; drag.&lt;BR&gt;&lt;BR style="mso-special-character: line-break"&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: green"&gt;&lt;FONT size=3&gt;How to change a tangent independently of its adjacent tangent using the sub select tool:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;I style="mso-bidi-font-style: normal"&gt;Press alt and hover over the tangent adorner, then click and drag the tangent adorner.&lt;BR&gt;&lt;/I&gt;The clicked side of the tangent will change in both size and direction independently of the other side.&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=3&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;FONT size=4&gt;Adjusting Tangents&amp;nbsp;using the&amp;nbsp;pen tool:&lt;/FONT&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: green"&gt;&lt;FONT size=3&gt;How to adjust adjacent tangents equally in size and direction with the pen tool activated:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;I style="mso-bidi-font-style: normal"&gt;Press alt and hover over a point, then click &amp;amp; drag.&lt;/I&gt;&lt;BR&gt;&lt;BR style="mso-special-character: line-break"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: green"&gt;&lt;FONT size=3&gt;How to change a tangent independently of its adjacent tangent using the pen tool:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;I style="mso-bidi-font-style: normal"&gt;Press alt and hover over the tangent adorner, then click and drag the tangent adorner.&lt;BR&gt;&lt;/I&gt;The clicked side of the tangent will change in both size and direction independently of the other side.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: green"&gt;&lt;FONT size=3&gt;The pen tool cannot be used to click or drag tangents (without modifier keys such as the alt key).&lt;/FONT&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=553291" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrowe/archive/tags/Interactive+Designer/default.aspx">Interactive Designer</category></item><item><title>Path Editing: Using the Pen and Sub Select Tools in Microsoft Expression Interactive Designer</title><link>http://blogs.msdn.com/jrowe/archive/2006/03/16/553247.aspx</link><pubDate>Fri, 17 Mar 2006 00:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:553247</guid><dc:creator>jrowe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jrowe/comments/553247.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrowe/commentrss.aspx?PostID=553247</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT color=#000000 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT color=#000000 size=4&gt;In &lt;A href="http://www.microsoft.com/products/expression/en/interactive_designer/id_free_trial.aspx"&gt;Microsoft Expression Interactive Designer&lt;/A&gt;, path editing is supported through using the Pen and Sub Select tools&amp;nbsp;located on the Tools Palette.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="/photos/jrowe/images/553272/original.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553272/268x153.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=4&gt;Below are some cursors that can be&amp;nbsp;invoked when editing paths.&amp;nbsp;The following functional descriptions may be useful:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553199.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553199/thumb.aspx" border=0&gt;&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;- Convert Cursor&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: blue"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt; Lets user know that pressing alt is tangent editing mode (this &lt;BR&gt;is true in both sub select and pen)&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure point adorners in the path are showing &lt;BR&gt;(activating either the pen tool or subselection tool will make the point &lt;BR&gt;adorners visible). Press the alt key while hovering over the scene&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553200.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553200/thumb.aspx" border=0&gt;&lt;/A&gt;- ConvertPointCursor + click&lt;BR&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Makes the point into a sharp corner.(shrinks the tangent down &lt;BR&gt;to zero - no tangent for curve to approach)&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated&lt;/SPAN&gt;:&amp;nbsp; Ensure point adorners in the path are showing &lt;BR&gt;(activating either the pen tool or sub selection tool will make the point &lt;BR&gt;adorners visible). Press the alt key while hovering over a point adorner in &lt;BR&gt;the path&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553200.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553200/thumb.aspx" border=0&gt;&lt;/A&gt;- ConvertPointCursor&amp;nbsp; + click &amp;amp; drag&lt;BR&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Makes any sharp corners smooth. If already smooth, it &lt;BR&gt;readjusts the tangent direction and size(Changes the angle of the curve as &lt;BR&gt;it passes through the clicked point)&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated&lt;/SPAN&gt;:&amp;nbsp; Ensure point adorners in the path are showing &lt;BR&gt;(activating either the pen tool or sub selection tool will make the point &lt;BR&gt;adorners visible). Press the alt key while hovering over a point adorner in &lt;BR&gt;the path&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553201.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553201/thumb.aspx" border=0&gt;&lt;/A&gt;- ConvertSegmentCursor&amp;nbsp; + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Turns a curve (any) segment into a straight line.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated&lt;/SPAN&gt;:&amp;nbsp; Ensure point adorners in the path are showing &lt;BR&gt;(activating either the pen tool or sub selection tool will make the point &lt;BR&gt;adorners visible). Press the alt key while hovering over a segment in the &lt;BR&gt;path&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;IMG src="/photos/jrowe/images/553201/thumb.aspx" border=0&gt;&amp;nbsp;ConvertSegmentCursor + click &amp;amp; drag&lt;BR&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Takes any segment and bends it in a curve to pass through the &lt;BR&gt;mouse position. (as you get closer to the endpoints, it gets less true that &lt;BR&gt;it will follow the mouse)&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure point adorners in the path are showing &lt;BR&gt;(activating either the pen tool or sub selection tool will make the point &lt;BR&gt;adorners visible). Press the alt key while hovering over a segment in the &lt;BR&gt;path&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553202.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553202/thumb.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;- ConvertTangentCursor + click &amp;amp; drag&lt;BR&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; adjust the selected tangent independently of the other side&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated&lt;/SPAN&gt;:&amp;nbsp; Subselect a&amp;nbsp; point or a segment. Press the alt &lt;BR&gt;key and hover over a tangent adorner in the path.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553203.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553203/thumb.aspx" border=0&gt;&lt;/A&gt;- PenTool + alt&lt;BR&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click with pen tool and then press alt (hold down) you will &lt;BR&gt;be adjusting the last tangent without the smooth constraint. It allows you &lt;BR&gt;to make a sharp corner. (click, drag then press alt)&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553203.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553203/thumb.aspx" border=0&gt;&lt;/A&gt;- &lt;/SPAN&gt;PenTool + shift + alt&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Aligns the new point, horizontally, vertically, or diagonally &lt;BR&gt;(based on&amp;nbsp; the closest plane of the clicked point)&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553204.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553204/thumb.aspx" border=0&gt;&lt;/A&gt;- PenAdjustCursor + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click the selected endpoint to reduce the last tangent to &lt;BR&gt;zero length.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure pen tool is selected. Hover over a &lt;BR&gt;selected endpoint.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553204.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553204/thumb.aspx" border=0&gt;&lt;/A&gt;- &lt;/SPAN&gt;PenAdjustCursor + click &amp;amp;&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;drag&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Clicking and dragging will modify the tangent.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553205.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553205/thumb.aspx" border=0&gt;&lt;/A&gt;- PenCloseCursor + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click on this point when this cursor is active to close the &lt;BR&gt;path with a sharp corner&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated&lt;/SPAN&gt;:&amp;nbsp; Ensure pen tool is active. Ensure either the &lt;BR&gt;start point or end point of a path is active. Hover over the non active &lt;BR&gt;start point or end point in the path.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553205.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553205/thumb.aspx" border=0&gt;&lt;/A&gt;- &lt;/SPAN&gt;PenCloseCursor&amp;nbsp; + click &amp;amp; drag&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does&lt;/SPAN&gt;:&amp;nbsp; Close the path with a smooth point.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553273.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553273/thumb.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;- PenDeleteCursor + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click on this point when this cursor is active to delete the &lt;BR&gt;clicked point.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure pen tool is selected Hover over any &lt;BR&gt;adorner point along the path.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553206.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553206/thumb.aspx" border=0&gt;&lt;/A&gt;- PenExtendCursor&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Indicates to the user that the mouse is over an endpoint or &lt;BR&gt;start point. Click here to make this path active and start extending it. ( &lt;BR&gt;so that user can click to make this point active to edit the tangent or for &lt;BR&gt;future clicks to add a new segment(s)&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure pen tool is selected. Hover over a &lt;BR&gt;start point or endpoint.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;IMG src="/photos/jrowe/images/553207/thumb.aspx" border=0&gt;- PenTangentCursor&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Indicates that a tangent is being dragged.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; While the Pen Extender cursor was showing, &lt;BR&gt;User has pressed and is holding the mouse down on an open point.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553208.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553208/thumb.aspx" border=0&gt;&lt;/A&gt;- PenInsertCursor + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click at this spot on the segment to insert a new point.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure pen tool is selected. Hover over any &lt;BR&gt;segment along the path.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553209.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553209/thumb.aspx" border=0&gt;&lt;/A&gt;- PenJoinCursor + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click creates a sharp corner when it joins 2 paths or sub paths.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Need 2 open paths or 1 path that has 2 open &lt;BR&gt;subpaths. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;1. Ensure both&amp;nbsp;pathA and pathB&amp;nbsp;are selected. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;2. Activate the pen tool. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;3. Hover over an openpoint of one of the paths (PathA) and notice the PenExtenderCursor appears. Click the point.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;4. Hover over an openpoint on the opposite path (PathB) and now the PenJoinCursor appears. Click the point and the 2 paths will join sharply.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553209.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553209/thumb.aspx" border=0&gt;&lt;/A&gt;- &lt;/SPAN&gt;PenJoinCursor + click &amp;amp; drag&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click &amp;amp; drag makes a smooth corner when it joins 2 paths.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Need 2 open paths or 1 path that has 2 open &lt;BR&gt;subpaths. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;1. Ensure both&amp;nbsp;pathA and pathB&amp;nbsp;are selected. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;2. Activate the pen tool. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;3. Hover over an openpoint of one of the paths (PathA) and notice the PenExtenderCursor appears. Click the point.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;4. Hover over an openpoint on the opposite path (PathB) and now the PenJoinCursor appears. Click the point and drag before letting go of the mouse click. The 2 paths will join smoothly.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553210.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553210/thumb.aspx" border=0&gt;&lt;/A&gt;- &lt;/SPAN&gt;PenStartCursor + click&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click here to start creation of a new path.&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;How to get cursor activated:&lt;/SPAN&gt;&amp;nbsp; Ensure pen tool is selected. Hover over an &lt;BR&gt;area of the scene where a new path start is desired.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;SPAN style="FONT-SIZE: 13.5pt; COLOR: blue"&gt;&lt;A href="/photos/jrowe/picture553210.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/553210/thumb.aspx" border=0&gt;&lt;/A&gt;- PenStartCursor + click &amp;amp; drag&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="COLOR: green"&gt;What it does:&lt;/SPAN&gt;&amp;nbsp; Click &amp;amp; drag makes a tangent to start a curve&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=553247" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrowe/archive/tags/Interactive+Designer/default.aspx">Interactive Designer</category></item><item><title>Expression Products – Use Microsoft Expression Graphic Designer -- you can be an artist even if you're not!</title><link>http://blogs.msdn.com/jrowe/archive/2006/03/11/549166.aspx</link><pubDate>Sat, 11 Mar 2006 04:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:549166</guid><dc:creator>jrowe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jrowe/comments/549166.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jrowe/commentrss.aspx?PostID=549166</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Choose a favorite digital photograph. In this example, I have a picture of a little boy as shown below:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="/photos/jrowe/images/549161/original.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/549161/secondarythumb.aspx" border=0&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------------&amp;gt;&lt;A href="/photos/jrowe/images/549175/original.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/549175/secondarythumb.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Open this picture in Use &lt;A href="/expression/archive/2006/01/24/517135.aspx"&gt;Microsoft Expression Graphic Designer&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Simple steps to turn it into a “sketch”:&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;Using the menu bar at the top, select Edit-&amp;gt;select All 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;Now select ImageFilters-&amp;gt;Sketch-&amp;gt;Charcoal. A dialog appears that allows you to turn your photo into a charcoaled looking sketch. You can adjust the settings to change a few things such as charcoal thickness, charcoal color and others. In this example I played with the RGB values and chose an orange-ish color. You can play with the settings until you get it how you want. &lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;A href="/photos/jrowe/images/549180/original.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/549180/346x446.aspx" border=0&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;3. Then just click OK to accept the previewed image.&amp;nbsp;&lt;A href="/photos/jrowe/images/549156/original.aspx" target=_blank&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;4. Now all you have to do is save your image.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Later, I will post how you can convert this image into vector data such that you can use path geometry to store it. Then you can open it in &lt;A href="/expression/archive/2006/03/09/543851.aspx"&gt;Microsoft Expression Interactive Designer&lt;/A&gt; for a host of other scenarios.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;&lt;A href="/photos/jrowe/images/549156/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/jrowe/images/549180/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/jrowe/images/549175/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/jrowe/images/549175/original.aspx" target=_blank&gt;&lt;IMG src="/photos/jrowe/images/549175/614x410.aspx" border=0&gt;&lt;/A&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=549166" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jrowe/archive/tags/Graphic+Designer/default.aspx">Graphic Designer</category></item></channel></rss>