Hii philippe,<div>Im not explicitly setting any mapper to vtkScalarBar object.The default mapper it uses is vtkMapper2D. Im trying to set font by pScalarBarActor->GetTitleTextProperty()->SetFontSize(25);</div><div>Do you know how i can call SetMultipleConstrainedFontSize().</div>
<div><br></div><div>Thank you for your answer.</div><div><br></div><div>Regards,</div><div>Sahil<br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 2:29 PM, Philippe Pebay [via VTK] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5055098&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
        Hello Sahil,<br><br>The size is set by vtkTextMapper::SetMultipleConstrainedFontSize() in order to fix the scalar bar size and orientation.<br><br>Best regards,<br>Philippe <br><br></div><div><div class="h5"><div class="gmail_quote">
On Tue, Dec 6, 2011 at 9:37 AM, sahil6786 <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=5051466&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>
<blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">I have created a vtkScalarBarActor object and rendered it on a window. But<br>
when i try to change the size of the scalarbar title by<br>
scalarBar->GetTitleTextProperty()->SetFontSize(25)..the size doesnt change<br>
at all. What will be the problem?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051421.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051421.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Philippe Pébay<br>Directeur de la Visualisation et du Calcul Haute Performance<br>
Kitware SAS<br>26 rue Louis Guérin<br>69100 Villeurbanne<br>France</font><br>
<font color="#888888"><a value="+33426685003" rel="nofollow" link="external" target="_top">+33 (0)4.37.45.04.15</a></font><font color="#888888"><br><a href="http://www.kitware.fr/" rel="nofollow" link="external" target="_blank">http://www.kitware.fr</a></font><br>
<br>_______________________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
        
        <br>
        <br>
        </div></div><hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051466.html" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5051466.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from vtkScalarBar Title font issue, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkScalarBar-Title-font-issue-tp5051421p5055098.html">Re: vtkScalarBar Title font issue</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>