Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
yogiyang
Posted - Apr 05 2020 : 10:56:17 Hello,
I want to get following about font of selected text layer:
Font Name (which I can get using TIETextLayer( lyr ).Font.Name)
Font Style like Bold/Italic/Bold Italic/Underline/etc
Font Size (which I can get using TIETextLayer( lyr ).Font.Size)
Font Color
TIA
Yogi Yang
5 L A T E S T R E P L I E S (Newest First)
yogiyang
Posted - Apr 08 2020 : 03:58:22 Hello Nigel,
I have solved the problem now.
Instead of creating a font style variable I am using it like this:
FntName := TIETextLayer(lyr).Font.Name;
FntSize := TIETextLayer(lyr).Font.Size;
FntClr := TIETextLayer(lyr).Font.Color;
if fsBold in TIETextLayer(lyr).Font.Style then
TIA
Yogi Yang
xequte
Posted - Apr 07 2020 : 05:52:18 What is the compilation error?