[vtkusers] vtkScalarBarActor - how change title size

Jochen Giese j.giese at gmx.net
Wed Sep 12 08:13:26 EDT 2007


Hi,

is it possible to change the size of title of the vtkScalarBarActor? And if
yes how can I do this? At the moment all 	excepting the size let
change with the help of the vtkTextProperty-class, see code.

Thank you for helping me
Jochen Giese


code:
ScalarBarActor = vtkScalarBarActor::New();
TitleProperty = vtkTextProperty::New();
ScalarBarActor->SetTitleTextProperty(TitleProperty);
TitleProperty->SetFontSize(5);
TitleProperty->BoldOn();




More information about the vtkusers mailing list