LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Rasterize vector file using logical dimensions (LEADTOOLS 20)
#1
Posted
:
Tuesday, February 6, 2018 9:11:57 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
This is a Visual Studio 2017 C# .NET project using the
LEADTOOLS Document Imaging SDK v20. This project was originally created in LEADTOOLS v18 using the LEADTOOLS C DLL interface and then ported to DotNet. Both projects can be seen
here.
By default the RasterCodecs.Load() 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!
Before running this project, please extract it to the following directory:
C:\LEADTOOLS 20\Examples\posts\t12459\
Edited by moderator Friday, February 23, 2018 9:45:01 AM(UTC)
| Reason: Not specified
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Rasterize vector file using logical dimensions (LEADTOOLS 20)
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.