Navision AdvancedImage.Net v1.1
Administrator
Member, Moderator, Administrator Posts: 2,507
Navision AdvancedImage.Net v1.0
This is the embedded Image object you can use in your Navision forms, written as .Net DLL.
Unlikely standard Navision's Image,
- AdvancedImage supports many formats:
Bmp - bitmap image format
Emf - enhanced Windows metafile image format
Exif - Exchangeable Image File format
Gif - Graphics Interchange Format (GIF) image format
Ico - Windows icon image format
Jpg - Joint Photographic Experts Group (JPEG) image format
Png - W3C Portable Network Graphics (PNG) image format
Tif - Tag Image File Format (TIFF) image format
Wmf - Windows metafile (WMF) image format
- supports transparent GIF images
- supports dynamic stretch of image
- supports dynamic loading
- supports images of unlimited file size and resolution
http://www.mibuso.com/dlinfo.asp?FileID=504
Discuss this download here.
This is the embedded Image object you can use in your Navision forms, written as .Net DLL.
Unlikely standard Navision's Image,
- AdvancedImage supports many formats:
Bmp - bitmap image format
Emf - enhanced Windows metafile image format
Exif - Exchangeable Image File format
Gif - Graphics Interchange Format (GIF) image format
Ico - Windows icon image format
Jpg - Joint Photographic Experts Group (JPEG) image format
Png - W3C Portable Network Graphics (PNG) image format
Tif - Tag Image File Format (TIFF) image format
Wmf - Windows metafile (WMF) image format
- supports transparent GIF images
- supports dynamic stretch of image
- supports dynamic loading
- supports images of unlimited file size and resolution
http://www.mibuso.com/dlinfo.asp?FileID=504
Discuss this download here.
0
Comments
-
Looks good. I would be very happy with a SizeMode that would allow me to resize the PictureBox but keep the original ratio.0
-
I've added GetImageWidth and GetImageHeight methods to the component, so you could keep aspect ratio like this:
AdvancedImage.LoadImage('c:\sample.jpg');
CurrForm.SubForm.WIDTH := AdvancedImage.GetImageWidth*10;
CurrForm.SubForm.HEIGHT := AdvancedImage.GetImageHeight*10;
CurrForm.UPDATE;
Wait for 2.0 version0 -
Navision AdvancedImage.Net v1.1
This is the embedded Image object you can use in your Navision forms, written as .Net DLL.
Unlikely standard Navision's Image,
- AdvancedImage supports many formats:
Bmp - bitmap image format
Emf - enhanced Windows metafile image format
Exif - Exchangeable Image File format
Gif - Graphics Interchange Format (GIF) image format
Ico - Windows icon image format
Jpg - Joint Photographic Experts Group (JPEG) image format
Png - W3C Portable Network Graphics (PNG) image format
Tif - Tag Image File Format (TIFF) image format
Wmf - Windows metafile (WMF) image format
- supports transparent GIF images
- supports dynamic stretch of image
- supports dynamic loading
- supports images of unlimited file size and resolution
Version 1.1:
- added GetImageWidth, GetImageHeight and SetAspectRatio methods
- added "Keep ratio" size mode
http://www.mibuso.com/dlinfo.asp?FileID=504
Discuss this download here.0 -
Hello,
Nice piece of software (and fast).
Can you tell me if it is possible to show two (or more) images on one form ?
Thanks0 -
It is possible.
For example open form 80004, make a copy of subform and set its name to 'image2'.
Create a global variable AdvancedImage2 and change
'AdvancedImage' to 'AdvancedImage2' in OnActivate trigger of subform 'image2'.
Create an alternative button with code "CurrForm.img2.ACTIVATE;".
Compile form
So when you click alternative button you will get two images on one form0 -
Oke, I got that.
But you "link" the image to a subform . Is it possible to create a report with an image on it ?
Thanks !0 -
Is it possible to store the image in the database (such as in a BLOB) and then display it using this DLL?
What code would this require to store an image and to retrieve an image?
Thanks!
Tim Larson
Mission to the World0 -
It's possbile using C/AL:
1) import an image into BLOB-field of tableTable.INIT; Table.BLOBImage.IMPORT('c:\sample.jpg'); Table.INSERT;
2) retrieving an imageTable.FIND('-'); Table.CALCFIELDS(BLOBImage); Table.BLOBImage.EXPORT(ENVIRON('TEMP')+'\temp_img.jpg'); AdvancedImage.LoadImage(ENVIRON('TEMP')+'\temp_img.jpg');0 -
This control look promising. Though after trying to use it in a report, I had to disassamble your code (!! thanks MS for .NET
) to enquire possibillities. It seems there has to be a Subform acting as container and therefore bound to be used in forms. 
I recon most people urging for a control like this but wants (or has!) to use it in Reports as well as in Forms.
If you intend to improve the control, I have some topics for consideration:
- Named Hooking. Couldn't it be possible to use f.ex. a Shape as container. The container name could then get it's own property or be passed to the Init function.
- Alignment Properties. HorAlign (Left, Center, Right) and VerAlign (Top, Center, Bottom). It would then be possible to f.ex. center a "Keep Ratio"-mode picture.
Nice to see that innovation hasn't stopped! Great work..It is impossible to make anything foolproof, because fools are so ingenious.0 -
Nice tool !.
What I would like to see is that, when you print a word doc as eg tiff you could use this tool to see the doc in Navision.
For some reason, the pagebreaks are not supported. I only see the first page if I do so.
Are there eny intentions to integrate this ?
Thanks !0 -
Hi,
Is it possible to browse for a file and put that in the subform instead of the filename sample.jpg
This would be a great feature
Thanks in advance
Alexader de Rooij0 -
Hi.
We have many computers.
Can I avoid registering NavAdvancedImage.dll on evry comp.
(we are do not use Citrix etc)/0 -
0
-
thanks.0
-
There's some specification about running Navision AdvanceImage Net 1.X over Navision 4.0
I can't run it.
Thanks0 -
is there a way to clear the image from the subform using a command ??Saro0
-
I'm sorry i'm asking my questions in chunks, but i'm having a problem as to which form will contain the picture that is being loaded into the system, is there a way that we can direct the control to a certain subform on the form?Saro0
-
Saro wrote:I'm sorry i'm asking my questions in chunks, but i'm having a problem as to which form will contain the picture that is being loaded into the system, is there a way that we can direct the control to a certain subform on the form?
If i got it right, Subform have Handle. So, when subform is activated, it fires triger OnActivate
In this triger AdvancedImage.Init transmit Handle. And then, on top of window (subform) draws picture
AdvancedImage.LoadImage("Path to Pictures")
For example I have 2 tabs with SubForm1 and SubForm2. OnActivate:
X - 1 or 2 ( depends on which SubForm)
IF ISCLEAR(AdvancedImageX) THEN BEGIN
IF NOT CREATE(AdvancedImageX) THEN BEGIN
MESSAGE('Cannot create AdvancedImage component');
EXIT;
END;
AdvancedImageX.Init;
AdvancedImageX.LoadImage("Path to Pictures X");
END;
So, when I swich tab control - I have 2 pictures.0 -
to tyrexxx
Is it real to add new mode. Which fit image to subform and preserve aspect ratio of image sides. I thought it mode=0, but it dosen't works.
For example
subform w*h = 100 x 300
image w*h = 400 x 800
AdvancedImage can confert image to 100 x 200 and put it on subform.0 -
To RAndrews
First of all thank you for taking the time to answer this
Well i understand but the form i will be using on is the main item card in navision 3.6, so i cannot wait till the box is activated so that the subform shows the picture, plus with this case the second the control leaves the subform, the images opened will cover the whole item card, or sometimes the main menu; it's a bit unstable when you want to open a picture in that subform lets say in the onaftergetrecord trigger of the subform,
i wonder if there is a way to pass the handle as a parameter, but then again we would have to actually know the handle of each trigger, also it might be during runtime that a handle is generated, if so then doesn't it mean that there would be no way we can assign the actual subform as a parameter to the dll file,
I wonder if i can experiment with GUIDs the problem is i'm not familiar with DLL files, how to read the classes and/or modify them.Saro0 -
First of all, I am not autor of dll. See top of the topic - autor is TYREXXX.Saro wrote:i wonder if there is a way to pass the handle as a parameter, but then again we would have to actually know the handle of each trigger, also it might be during runtime that a handle is generated, if so then doesn't it mean that there would be no way we can assign the actual subform as a parameter to the dll file,
I wonder if i can experiment with GUIDs the problem is i'm not familiar with DLL files, how to read the classes and/or modify them.
1 . You can make control so that subfurm will activate it first.Saro wrote:Well i understand but the form i will be using on is the main item card in navision 3.6, so i cannot wait till the box is activated so that the subform shows the picture, plus with this case the second the control leaves the subform, the images opened will cover the whole item card, or sometimes the main menu; it's a bit unstable when you want to open a picture in that subform lets say in the onaftergetrecord trigger of the subform
2. You can use function Activate to activate subform
Cover main menu... Hm... I am using dll of tyrex on a form with 2 tabs. On each tab diferent images. Covering was not apear...
OnAfterGetReccord:IF FItem."No." <> "Item No." THEN BEGIN CLEAR(AdvancedImage); CLEAR(AdvancedImage2); END;
OnActivate - see code in answer above.
I'm using client 3.7B, base 3.60 -
randrews wrote:to tyrexxx
Is it real to add new mode. Which fit image to subform and preserve aspect ratio of image sides. I thought it mode=0, but it dosen't works.
For example
subform w*h = 100 x 300
image w*h = 400 x 800
AdvancedImage can confert image to 100 x 200 and put it on subform.
SizeMode = 4 and SetAspectRatio(SetImageWidth/SetImageHeight)
helps me0 -
i want to know the procedure to bind .net control in navision form ....
thanks0 -
Really very good tool.
I want to link AdvancedImage with a picturebox. How can I do that?
i.e I have placed one picturebox on the report. currently I import data in SalesLine.Picture and picturebox has sourceexpr = SalesLine.Picture.
My picture is .bmp.
Now can I link AdvancedImage with this picturebox.
Thanks for any help.0 -
I am having problems displaying an adobe illustrator file (*.ai) vector graphic file within navision....is this application capable of doing just that? If so, how? need all help not a ca/l guru.0
-
So 18 months later.....
is there now a way to print transparent images on a report?
This creamy-gray-white background behind our logo doesnt look that good
0 -
What about images stored in SQl will this work for that?0
-
Thanks, it works fine, but can you also add the PDF format?0
-
tentacle wrote:So 18 months later.....
is there now a way to print transparent images on a report?
This creamy-gray-white background behind our logo doesnt look that good
Hi
More later ...
Anyone done it? (print in a report an image in another format, i.e. tif, not a bmp)
Thanks
PD: Good tool!0 -
to tyrexxx
I use your control. It's great. But I'have a strange situation.
I use it in two different form. When I switch from one to other and return to first form the image appears very small in a box in wich appears 123 numers!!
Why this?What I do to solve this problem?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
