Hello,
My problem is that I have a .EMF file and I must to split this file in some file with know dimension.
Whit your library it is possible
Can you help me ?
Thanks for your time
Dim oGdPicture As New GdpicturePro.cGdPicture
Dim nInputImageID As Long
Dim nImageSplit1 As Long, nImageSplit2 As Long
nInputImageID = oGdPicture.CreateImageFromFile("c:\image.emf")
nImageSplit1 = oGdPicture.CreateClonedImageArea(nInputImageID, 10, 20, 200, 300)
nImageSplit2 = oGdPicture.CreateClonedImageArea(nInputImageID, 200, 300, 200, 300)
oGdPicture.SetNativeImage (nImageSplit1)
oGdPicture.SaveAsJpeg ("c:\split1.jpg")
oGdPicture.CloseImage (nImageSplit1)
oGdPicture.SetNativeImage (nImageSplit2)
oGdPicture.SaveAsJpeg ("c:\split2.jpg")
oGdPicture.CloseImage (nImageSplit2)
oGdPicture.CloseImage (nInputImageID)
Set oGdPicture = Nothing
Return to GdPicture [Pro] ActiveX
Users browsing this forum: No registered users and 3 guests