Results 1 to 7 of 7

Thread: [RESOLVED] Text & Images

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Resolved [RESOLVED] Text & Images

    Hi Guys,

    I am just getting started on a solution and trying to decide a way of doing it.

    Basically i want to create an rtf document that contains a company logo in the top right corner and then 2 paragraphs of text under it. basically a letter but on headed paper so when its printed on plain paper it includes the logo.

    My first thought was a RichTextBox but i cant figure out a way or placing the image where i want it and lock it.

    Any other ideas would be good.

  2. #2

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Re: Text & Images

    Thanks for reply - i could create a template but the target machine does not have MS word installed only a MS reader as for report engine probly the same applies i can't think of anything installed on the target machines, i started with the actual print engine. i think if i can format the text in the richtextbox and then print this and the image this may suffice. but not ideal

  4. #4

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Re: Text & Images

    Thanks - Found a small floor in what i am trying to do - when i add the text positioning it with Printer.CurrentX & Y it only positions the first line of the text.
    I was any kinda hoping to add whole string and it all has the same left indent/alignment. Any ideas?

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Text & Images

    There is a tutorial about printing in our Classic VB FAQs which explains (with examples) how to do things like that.

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Re: Text & Images

    Thanks Si - i allready sorted it anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width