Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Go Back  Xtreme Visual Basic Talk > > > Creating pdf from already drawn on Device context


Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2016, 10:06 AM
wallz wallz is offline
Newcomer
 
Join Date: May 2016
Posts: 1
Default Creating pdf from already drawn on Device context


Using VB6, this is the part I have working: I use CreateDC to create a new device context. I have sucessfully gotten a document to print to my printer by using StartDoc, StartPageAPI, TextOut, EndPageAPI, & EndDoc.

The part I am trying to figure out:
After I have done all of my drawing operations (TextOut) to the DC, can I make a copy of the DC and the new DC will have all of the drawing operations applied? If so, I have a third party dll that can use this DC to create a PDF. IF not, can I create an image (EMF or BMP) from the original DC that has all of the drawing operations applied?

Am I understanding device contexts the right way?

Edit: Also, I do not want to change/add all of my drawing operation code to draw to the new DC. I would like to copy from the original DC.
Reply With Quote
Reply

Tags
operations, create, device, drawing, pdf, applied, textout, context, copy, original, understanding, contexts, bmp, dll, image, emf, party, enddoc, createdc, sucessfully, document, drawn, vb6, print, printer


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
 
Creating pdf from already drawn on Device context
Creating pdf from already drawn on Device context
 
-->