Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, November 1, 2013 9:30:39 AM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 215

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!

File Attachment(s):
API - V18 - L_LoadBitmap to use Resolution.zip (1,170kb) downloaded 29 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, January 2, 2014 12:18:33 PM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 215

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.
File Attachment(s):
NET - V18 - Load using Resolution.zip (18kb) downloaded 28 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.244 seconds.