Search found 4 matches

by pujols
22 Aug 2017, 20:48
Forum: CAD .NET
Topic: Convert dwg to image text problem
Replies: 4
Views: 35095

Re: Convert dwg to image text problem

Hi, Thank you for your help. DFPHeiMedium-B5 was not installed in my system. After installing DFPHeiMedium-B5 font in system, application runs as windows service convert result text is correct. But I don't know why font not installed in system, application only runs as windows service cause incorrec...
by pujols
17 Aug 2017, 12:50
Forum: CAD .NET
Topic: Convert dwg to image text problem
Replies: 4
Views: 35095

Convert dwg to image text problem

Hi

I write application convert dwg to png, result image text is corerct

If application run as windows service, image chinese text render □□□

If any possible reason cause the result?

correct text
O.png
O.png (57.2 KiB) Viewed 35095 times
incorrect text ( run as windows service)
X.png
X.png (53.21 KiB) Viewed 35095 times
by pujols
27 Jun 2017, 06:27
Forum: CAD .NET
Topic: About convert dwg to png size limit
Replies: 1
Views: 15522

About convert dwg to png size limit

Hi,

I convert dwg to png use CADImage.SaveToFile(string, ImageFormat, DRect, Rectangle).

When set image size more than 536870910 or width more than 65535 or height more than 65535
convert to image will fail.

Above number is limit of cad.net or limit of memory?
by pujols
24 May 2017, 10:58
Forum: CAD .NET
Topic: About convert dwg to png background and line color
Replies: 1
Views: 14540

About convert dwg to png background and line color

Hi, I try convert dwg to png, sample code: CADImage cadImage = CADImage.CreateImageByExtension(sourceFile); cadImage.LoadFromFile(sourceFile); DRect boundaryRectangle = new DRect(left, top, width, height); Rectangle rect = new Rectangle(left, top, width, height); cadImage.SaveToFile(outFileName, Ima...