LEADTOOLS Support
General
General Questions
Rasterize vector file using logical dimensions read from the vector file
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, November 1, 2013 9:25:39 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
This MFC C++ project was written in Visual Studio 2010 using the LEAD's CDLL interface
By default the L_LoadBitmap function will load a Vector file at 640 x 480 pixels.
This project shows you how to query the vector file using our vector tool kit to find the logical dimensions of the vector file. You can use this information to then rasterize the vector file so that it keeps its original dimensions as opposed to using the default 640 x 480 dimensions. The project currently only handles dimensions that are specified in inches, but room has been left to add other units of measurement.
There are also no checks on the size of the image that is created. Be careful not to make the raster bitmap too large or you could run out of memory!
Travis Montgomery
Senior Sales Engineer
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
#2
Posted
:
Thursday, January 2, 2014 12:13:33 PM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
Here is the same functionality in .NET
Project is in Visual Studio 2010 using .NET 4.0 framework.
Travis Montgomery
Senior Sales Engineer
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
General
General Questions
Rasterize vector file using logical dimensions read from the vector file
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.