[vtkusers] vtkScalarBarActor broken
Amy Henderson
amy.henderson at kitware.com
Mon Feb 17 09:19:13 EST 2003
vtkScalarBarActor has a method called GetLabelTextProperty, and
vtkTextProperty has a method called SetFontSize, so do something like
scalarBar->GetLabelTextProperty()->SetFontSize(newSize);
(scalarBar is a vtkScalarBarActor and newSize is an integer specifying the
font size you want.)
- Amy
At 10:04 AM 2/15/2003 -0700, clyne at ncar.ucar.edu wrote:
>Hi,
>
>Anyone know how to change the font size for the labels on a
>vtkScalarBarActor? I can change the font color, family, type, etc, but
>not the size. I get this teeny little unreadable font?
>
>thanks - jc
>
>
>John Clyne (clyne at ncar.ucar.edu)
>National Center for Atmospheric Research
>P.O. Box 3000, Boulder, Colorado 80307
>(303) 497-1236 FAX (303) 497-1298
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list