DrawTextMeansGDIPlusMethods? Where did you go?
Moderators: SDS, support, admin
-
- Posts: 12
- Joined: 11 Dec 2007, 21:38
- Location: USA
DrawTextMeansGDIPlusMethods? Where did you go?
I upgraded from 7.21 to 7.25, and my code no longer compiles ... where did this method go?
I am rendering to a metafile, and need text drawn as text, not line art. I've been using this method for the last year or more to accomplish this, but I'm quite dismayed to find it gone in what should've been a minor release?
All of the help files continue to document it where I think it should be -- but it's gone.
I am rendering to a metafile, and need text drawn as text, not line art. I've been using this method for the last year or more to accomplish this, but I'm quite dismayed to find it gone in what should've been a minor release?
All of the help files continue to document it where I think it should be -- but it's gone.
Re: DrawTextMeansGDIPlusMethods? Where did you go?
Hello.
The CADImage.DrawTextMeansGDIPlusMethods property was removed in version 7.2.5. The property was used for getting or setting drawing mode of simply not rotated texts. Now all such objects will be drawn using GDI+ and this property not necessary anymore. Last changes not displayed in the help file, we're sorry for inconvenience. Please post your questions to the forum, we will provide you with missing information.
Alexander.
The CADImage.DrawTextMeansGDIPlusMethods property was removed in version 7.2.5. The property was used for getting or setting drawing mode of simply not rotated texts. Now all such objects will be drawn using GDI+ and this property not necessary anymore. Last changes not displayed in the help file, we're sorry for inconvenience. Please post your questions to the forum, we will provide you with missing information.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 12
- Joined: 11 Dec 2007, 21:38
- Location: USA
Re: DrawTextMeansGDIPlusMethods? Where did you go?
I am rendering DWG's and DXF's to EMF, and then rendering the EMF to PDF. I use this method to ensure that for most cases, I get text instead of line art in my EMF and in my PDF. It's important for me to be able to have selectable text in the finished PDF.
If this method is gone, then I'll be forced to continue using the older version of the library, or look for another library altogether.
If this method is gone, then I'll be forced to continue using the older version of the library, or look for another library altogether.
Re: DrawTextMeansGDIPlusMethods? Where did you go?
Hello.
The CADImage.DrawTextMeansGDIPlusMethods isn't a method, it is only a property. It was used for definition of displayed text object imagination. Regardless of this property value text objects remain text objects.
Alexander.
The CADImage.DrawTextMeansGDIPlusMethods isn't a method, it is only a property. It was used for definition of displayed text object imagination. Regardless of this property value text objects remain text objects.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 12
- Joined: 11 Dec 2007, 21:38
- Location: USA
Re: DrawTextMeansGDIPlusMethods? Where did you go?
You're missing the point ...
A minor version release from 7.2.1 to 7.2.5 shouldn't involve a public API change. I use this "property" in order to get selectable text out of a DWG when I render it. You've removed this "property", and therefore I cannot get selectable text when I'm drawing. Hence the reason for me to use CADImport has been invalidated, and functionality that WAS available is now no longer available.
Is there a plan in the immediate future for CADImport to be able to render DWG's to PDF? Will those PDF's have selectable text? This is pretty much a showstopper for me.
A minor version release from 7.2.1 to 7.2.5 shouldn't involve a public API change. I use this "property" in order to get selectable text out of a DWG when I render it. You've removed this "property", and therefore I cannot get selectable text when I'm drawing. Hence the reason for me to use CADImport has been invalidated, and functionality that WAS available is now no longer available.
Is there a plan in the immediate future for CADImport to be able to render DWG's to PDF? Will those PDF's have selectable text? This is pretty much a showstopper for me.
Re: DrawTextMeansGDIPlusMethods? Where did you go?
Hello.
The CADImage.DrawTextMeansGDIPlusMethods property doesn't affect text's selectability, but the visualization. Just the way how draw method will proceed. Please note, CAD Import .NET doesn't render the PDF and this functionality not planned in the future. We plan to finish export to PDF that is implemented partially, but not render the PDF.
Alexander.
The CADImage.DrawTextMeansGDIPlusMethods property doesn't affect text's selectability, but the visualization. Just the way how draw method will proceed. Please note, CAD Import .NET doesn't render the PDF and this functionality not planned in the future. We plan to finish export to PDF that is implemented partially, but not render the PDF.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 12
- Joined: 11 Dec 2007, 21:38
- Location: USA
Re: DrawTextMeansGDIPlusMethods? Where did you go?
I think we're going in circles.
I use this property so that I can render to a metafile, and the metafile will have text instead of lines representing the text. Once I have a metafile, I can draw the metafile to PDF. The resulting text will be selectable, because the metafile had DrawText commands, and not line art rendering commands.
Is there any other means to get "text" from a CAD drawing using CADImport? If I print the doc to a PDF printer, am I going to get text, or line art?
I use this property so that I can render to a metafile, and the metafile will have text instead of lines representing the text. Once I have a metafile, I can draw the metafile to PDF. The resulting text will be selectable, because the metafile had DrawText commands, and not line art rendering commands.
Is there any other means to get "text" from a CAD drawing using CADImport? If I print the doc to a PDF printer, am I going to get text, or line art?
Re: DrawTextMeansGDIPlusMethods? Where did you go?
Hello Robert.
The goal of removal the CADImage.DrawTextMeansGDIPlusMethods property is a correct vizualization of CAD files. All not rotated texts will be drawn using GDI+ automatically. When export to EMF this mean text objects. The rotated texts will be drawn using glyphs, automatically too. Unfortunately, you're correct, in this situation further export from emf will result not in selectable texts, but graphics entities. Probably you convert rotated texts. Sorry for inconveniense in your works. Please mail to support@cadsofttools.com, we will provide you with assembly last version that support this property (7.2.2). We will consider the problem and will try to find the solution for such situation in the latest versions.
Alexander.
The goal of removal the CADImage.DrawTextMeansGDIPlusMethods property is a correct vizualization of CAD files. All not rotated texts will be drawn using GDI+ automatically. When export to EMF this mean text objects. The rotated texts will be drawn using glyphs, automatically too. Unfortunately, you're correct, in this situation further export from emf will result not in selectable texts, but graphics entities. Probably you convert rotated texts. Sorry for inconveniense in your works. Please mail to support@cadsofttools.com, we will provide you with assembly last version that support this property (7.2.2). We will consider the problem and will try to find the solution for such situation in the latest versions.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support