0 Replies - 634 Views - Last Post: 11 March 2009 - 02:23 PM Rate Topic: -----

#1 LBurgoyne  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 17-February 09

Modify Multipage TIF Images

Posted 11 March 2009 - 02:23 PM

My goal is to add a bates number (incrmental Counter) to existing multipage tifs. I don't want to display the image, I just want to modify it.
I can reference the image in question. I can get the number of pages. What I cannot do is use the .DrawString method (or anything else) to add a text value (Bates Stamp).

Any ideas would be greatly appreciated.

[Partial code]
Imports System.Drawing
Imports System.Drawing.Imaging

Public Class frmImageHandler 'form
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Private myImage As Image
myImage = Image.FromFile(Me.TextBox3.Text) 'Stores selected image from dialog.
Dim oDimension As New FrameDimension(myImage.FrameDimensionsList(0))
Dim FrameCount As Integer = myImage.GetFrameCount(oDimension)

End Sub
end class
[/Partial code]

Is This A Good Question/Topic? 0
  • +

Page 1 of 1