TsgStyle.FontStyle has no effect...
Moderators: SDS, support, admin
TsgStyle.FontStyle has no effect...
hello
i want drawing a underlined text ( or Bold, strike out...)
in your CadExportDemo exemple code, for test this, i add one line:
function TForm1.AddStyle: TsgDXFStyle;
begin
Result := TsgDXFStyle.Create;
Result.Name := cnstStyleChinese;
Result.PrimaryFont := 'SimSun';
Result.FontStyle := [fmUnderline]; --> i add this line
FCADFile.Converter.Sections[csStyles].AddEntity(Result);
end;
Problem : No effect.
How make a underlined text ?
thanks
Pascal 07
i want drawing a underlined text ( or Bold, strike out...)
in your CadExportDemo exemple code, for test this, i add one line:
function TForm1.AddStyle: TsgDXFStyle;
begin
Result := TsgDXFStyle.Create;
Result.Name := cnstStyleChinese;
Result.PrimaryFont := 'SimSun';
Result.FontStyle := [fmUnderline]; --> i add this line
FCADFile.Converter.Sections[csStyles].AddEntity(Result);
end;
Problem : No effect.
How make a underlined text ?
thanks
Pascal 07
Re: TsgStyle.FontStyle has no effect...
Hello Pascal.
TsgDXFStyle.FontName specified value required to underlining take effect:
Alexander.
TsgDXFStyle.FontName specified value required to underlining take effect:
Code: Select all
function TForm1.AddStyle: TsgDXFStyle;
begin
Result := TsgDXFStyle.Create;
Result.Name := cnstStyleChinese;
Result.FontName := 'SimSun';
Result.PrimaryFont := 'SimSun';
Result.FontStyle := [fmUnderline];
FCADFile.Converter.Sections[csStyles].AddEntity(Result);
end;
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: TsgStyle.FontStyle has no effect...
Hello
ok, this new code is correct to screen ( the text is underlined ) but if a save in a DXF file, the text is not underlined. ( i use Autodesk DWG True View for read and see DXF files )
why ?
thanks
Pascal
ok, this new code is correct to screen ( the text is underlined ) but if a save in a DXF file, the text is not underlined. ( i use Autodesk DWG True View for read and see DXF files )
why ?
thanks
Pascal
Re: TsgStyle.FontStyle has no effect...
Hello Pascal.
Unfortunately CAD Export VCL doesn't export text styles correctly when direct export. We have already fixed this problem partially, but current release doesn't include this fix. The solution will be provided with the next release.
Alexander.
Unfortunately CAD Export VCL doesn't export text styles correctly when direct export. We have already fixed this problem partially, but current release doesn't include this fix. The solution will be provided with the next release.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: TsgStyle.FontStyle has no effect...
Hello
1 - When will this release be it available?
2 - This release will be it free for me ( one years of free support = one year of free release ? )
Thanks & Cordialy
Pascal Ey.
1 - When will this release be it available?
2 - This release will be it free for me ( one years of free support = one year of free release ? )
Thanks & Cordialy
Pascal Ey.
Re: TsgStyle.FontStyle has no effect...
Hello Pascal.
Unfortunately I can't give any date, the release expected soon. Yes, release will be free of any charges. One year of support provides free updates during this period. We'll inform you about the release.
Alexander.
Unfortunately I can't give any date, the release expected soon. Yes, release will be free of any charges. One year of support provides free updates during this period. We'll inform you about the release.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support