<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Text Styling</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Text Styling</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling</link><pubDate>Mon, 22 Feb 2021 15:21:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:82115ad2-bb68-4e4a-bfc8-c98c31f01b53</guid><dc:creator>Jesse Greenwald</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling#comments</comments><description>Current Revision posted to gINT | Keynetix Wiki by Jesse Greenwald on 2/22/2021 3:21:00 PM&lt;br /&gt;
&lt;h2 class="Heading2"&gt;&lt;/h2&gt;
&lt;p&gt;Template Studio allows for text to be styled within an expression. This allows for more than one style to be applied to one item (separating parts of the text) and also allows finer control then is available from within the ribbon interface. This function is the textStyle function.&lt;/p&gt;
&lt;p&gt;The format for this is as follows;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;Font Weight&amp;#39;,&amp;#39;Font Style&amp;#39;,&amp;#39;Font Colour&amp;#39;)&lt;/p&gt;
&lt;p&gt;e.g;&lt;br /&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;/p&gt;
&lt;p&gt;The parts of this function work as follows;&lt;br /&gt;My Text - This is the text that is to be displayed on the log, this can be either plain text or can be any function that is compatible with Template Studio.&lt;br /&gt;Font Weight - This is how heavy the text appears, on a scale 1 to 999, where 300 is Normal and 700 is Bold.&lt;br /&gt;Font Style - This is the style of the text; Normal/Italic/Oblique.&lt;br /&gt;Font Colour - This is the colour of the text in hexidecimal format (This includes transparency). Patterns supported are either RGB or ARGB formats such as FF0000 - red 00FF00 - green, 0000FF - blue and 880000FF is half transparent blue. An explanation of how this works can be found on Wikipedia&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://en.wikipedia.org/wiki/RGBA_color_space"&gt;here&lt;/a&gt;&amp;nbsp;and a colour chart, useful for finding codes can be seen below.&lt;/p&gt;
&lt;p&gt;Note - All arguments are required. For example, if you just want to bold text but not change the style or color, the expression would be:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;700&amp;#39;,&amp;#39;Normal&amp;#39;,&amp;#39;000000&amp;#39;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Examples%20can%20be%20seen%20below.png"&gt;&lt;img alt=" " src="/resized-image/__size/800x902/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907227v1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Examples can be seen below;&lt;/p&gt;
&lt;p&gt;textStyle(ConcatenateWith(&amp;#39;-&amp;#39;,[SampleInformation.Type],[SampleInformation.SampleReference]),&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would combine the sample type and reference in bold, italic, red text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/textStyle%20Client%20100%20Oblique.png"&gt;&lt;img alt=" " src="/resized-image/__size/154x110/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907228v2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;Client: &amp;#39;,&amp;#39;100&amp;#39;,&amp;#39;Oblique&amp;#39;,&amp;#39;0000FF&amp;#39;)+textStyle([Project.ClientName],&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would show the text &amp;#39;Client:&amp;#39; in blue oblique text and then the client name in bold, red, italic text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Expressions_1.png"&gt;&lt;img alt=" " src="/resized-image/__size/197x52/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907229v3.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Text Styling</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling/revision/3</link><pubDate>Mon, 22 Feb 2021 15:20:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:82115ad2-bb68-4e4a-bfc8-c98c31f01b53</guid><dc:creator>Jesse Greenwald</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling#comments</comments><description>Revision 3 posted to gINT | Keynetix Wiki by Jesse Greenwald on 2/22/2021 3:20:00 PM&lt;br /&gt;
&lt;h2 class="Heading2"&gt;&lt;/h2&gt;
&lt;p&gt;Template Studio allows for text to be styled within an expression. This allows for more than one style to be applied to one item (separating parts of the text) and also allows finer control then is available from within the ribbon interface. This function is the textStyle function.&lt;/p&gt;
&lt;p&gt;The format for this is as follows;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;Font Weight&amp;#39;,&amp;#39;Font Style&amp;#39;,&amp;#39;Font Colour&amp;#39;)&lt;/p&gt;
&lt;p&gt;e.g;&lt;br /&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;/p&gt;
&lt;p&gt;The parts of this function work as follows;&lt;br /&gt;My Text - This is the text that is to be displayed on the log, this can be either plain text or can be any function that is compatible with Template Studio.&lt;br /&gt;Font Weight - This is how heavy the text appears, on a scale 1 to 999, where 300 is Normal and 700 is Bold.&lt;br /&gt;Font Style - This is the style of the text; Normal/Italic/Oblique.&lt;br /&gt;Font Colour - This is the colour of the text in hexidecimal format (This includes transparency). Patterns supported are either RGB or ARGB formats such as FF0000 - red 00FF00 - green, 0000FF - blue and 880000FF is half transparent blue. An explanation of how this works can be found on Wikipedia&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://en.wikipedia.org/wiki/RGBA_color_space"&gt;here&lt;/a&gt;&amp;nbsp;and a colour chart, useful for finding codes can be seen below.&lt;/p&gt;
&lt;p&gt;Note - All arguments are required. For example, if you just want to bold text, the expression would be:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;700&amp;#39;,&amp;#39;Normal&amp;#39;,&amp;#39;000000&amp;#39;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Examples%20can%20be%20seen%20below.png"&gt;&lt;img alt=" " src="/resized-image/__size/800x902/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907227v1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Examples can be seen below;&lt;/p&gt;
&lt;p&gt;textStyle(ConcatenateWith(&amp;#39;-&amp;#39;,[SampleInformation.Type],[SampleInformation.SampleReference]),&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would combine the sample type and reference in bold, italic, red text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/textStyle%20Client%20100%20Oblique.png"&gt;&lt;img alt=" " src="/resized-image/__size/154x110/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907228v2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;Client: &amp;#39;,&amp;#39;100&amp;#39;,&amp;#39;Oblique&amp;#39;,&amp;#39;0000FF&amp;#39;)+textStyle([Project.ClientName],&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would show the text &amp;#39;Client:&amp;#39; in blue oblique text and then the client name in bold, red, italic text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Expressions_1.png"&gt;&lt;img alt=" " src="/resized-image/__size/197x52/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907229v3.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Text Styling</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling/revision/2</link><pubDate>Mon, 22 Feb 2021 15:18:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:82115ad2-bb68-4e4a-bfc8-c98c31f01b53</guid><dc:creator>Jesse Greenwald</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling#comments</comments><description>Revision 2 posted to gINT | Keynetix Wiki by Jesse Greenwald on 2/22/2021 3:18:47 PM&lt;br /&gt;
&lt;h2 class="Heading2"&gt;&lt;/h2&gt;
&lt;p&gt;Template Studio allows for text to be styled within an expression. This allows for more than one style to be applied to one item (separating parts of the text) and also allows finer control then is available from within the ribbon interface. This function is the textStyle function.&lt;/p&gt;
&lt;p&gt;The format for this is as follows;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;Font Weight&amp;#39;,&amp;#39;Font Style&amp;#39;,&amp;#39;Font Colour&amp;#39;)&lt;/p&gt;
&lt;p&gt;e.g;&lt;br /&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;/p&gt;
&lt;p&gt;The parts of this function work as follows;&lt;br /&gt;My Text - This is the text that is to be displayed on the log, this can be either plain text or can be any function that is compatible with Template Studio.&lt;br /&gt;Font Weight - This is how heavy the text appears, on a scale 1 to 999, where 300 is Normal and 700 is Bold.&lt;br /&gt;Font Style - This is the style of the text; Normal/Italic/Oblique.&lt;br /&gt;Font Colour - This is the colour of the text in hexidecimal format (This includes transparency). Patterns supported are either RGB or ARGB formats such as FF0000 - red 00FF00 - green, 0000FF - blue and 880000FF is half transparent blue. An explanation of how this works can be found on Wikipedia&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://en.wikipedia.org/wiki/RGBA_color_space"&gt;here&lt;/a&gt;&amp;nbsp;and a colour chart, useful for finding codes can be seen below.&lt;/p&gt;
&lt;p&gt;Note - All arguments are required. For example, if you just want to bold text, the expression would be:&amp;nbsp;&lt;span&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;700&amp;#39;,&amp;#39;Normal&amp;#39;,&amp;#39;000000&amp;#39;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Examples%20can%20be%20seen%20below.png"&gt;&lt;img alt=" " src="/resized-image/__size/800x902/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907227v1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Examples can be seen below;&lt;/p&gt;
&lt;p&gt;textStyle(ConcatenateWith(&amp;#39;-&amp;#39;,[SampleInformation.Type],[SampleInformation.SampleReference]),&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would combine the sample type and reference in bold, italic, red text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/textStyle%20Client%20100%20Oblique.png"&gt;&lt;img alt=" " src="/resized-image/__size/154x110/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907228v2.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;Client: &amp;#39;,&amp;#39;100&amp;#39;,&amp;#39;Oblique&amp;#39;,&amp;#39;0000FF&amp;#39;)+textStyle([Project.ClientName],&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would show the text &amp;#39;Client:&amp;#39; in blue oblique text and then the client name in bold, red, italic text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Expressions_1.png"&gt;&lt;img alt=" " src="/resized-image/__size/197x52/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907229v3.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Text Styling</title><link>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling/revision/1</link><pubDate>Fri, 26 Jun 2020 12:35:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:82115ad2-bb68-4e4a-bfc8-c98c31f01b53</guid><dc:creator>Stephen Evason</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/wiki/50448/text-styling#comments</comments><description>Revision 1 posted to gINT | Keynetix Wiki by Stephen Evason on 6/26/2020 12:35:02 PM&lt;br /&gt;
&lt;h2 class="Heading2"&gt;&lt;/h2&gt;
&lt;p&gt;Template Studio allows for text to be styled within an expression. This allows for more than one style to be applied to one item (separating parts of the text) and also allows finer control then is available from within the ribbon interface. This function is the textStyle function.&lt;/p&gt;
&lt;p&gt;The format for this is as follows;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;Font Weight&amp;#39;,&amp;#39;Font Style&amp;#39;,&amp;#39;Font Colour&amp;#39;)&lt;/p&gt;
&lt;p&gt;e.g;&lt;br /&gt;textStyle(&amp;#39;My Text&amp;#39;,&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;/p&gt;
&lt;p&gt;The parts of this function work as follows;&lt;br /&gt;My Text - This is the text that is to be displayed on the log, this can be either plain text or can be any function that is compatible with Template Studio.&lt;br /&gt;Font Weight - This is how heavy the text appears, on a scale 1 to 999, where 300 is Normal and 700 is Bold.&lt;br /&gt;Font Style - This is the style of the text; Normal/Italic/Oblique.&lt;br /&gt;Font Colour - This is the colour of the text in hexidecimal format (This includes transparency). Patterns supported are either RGB or ARGB formats such as FF0000 - red 00FF00 - green, 0000FF - blue and 880000FF is half transparent blue. An explanation of how this works can be found on Wikipedia&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://en.wikipedia.org/wiki/RGBA_color_space"&gt;here&lt;/a&gt;&amp;nbsp;and a colour chart, useful for finding codes can be seen below.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Examples%20can%20be%20seen%20below.png"&gt;&lt;img src="/resized-image/__size/800x902/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907227v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Examples can be seen below;&lt;/p&gt;
&lt;p&gt;textStyle(ConcatenateWith(&amp;#39;-&amp;#39;,[SampleInformation.Type],[SampleInformation.SampleReference]),&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would combine the sample type and reference in bold, italic, red text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/textStyle%20Client%20100%20Oblique.png"&gt;&lt;img src="/resized-image/__size/154x110/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907228v2.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;textStyle(&amp;#39;Client: &amp;#39;,&amp;#39;100&amp;#39;,&amp;#39;Oblique&amp;#39;,&amp;#39;0000FF&amp;#39;)+textStyle([Project.ClientName],&amp;#39;900&amp;#39;,&amp;#39;Italic&amp;#39;,&amp;#39;FF0000&amp;#39;)&lt;br /&gt;Would show the text &amp;#39;Client:&amp;#39; in blue oblique text and then the client name in bold, red, italic text.&lt;/p&gt;
&lt;p&gt;&lt;a class="MCPopupThumbnailLink MCPopupThumbnailPopup" href="http://assist.keynetix.com/Content/Resources/Images/Expressions/Expressions_1.png"&gt;&lt;img src="/resized-image/__size/197x52/__key/communityserver-wikis-components-files/00-00-00-01-05/pastedimage1593174907229v3.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>