Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bind JSON data to rows in a table MVC4 issue Pin
Afzaal Ahmad Zeeshan4-May-18 8:21
professionalAfzaal Ahmad Zeeshan4-May-18 8:21 
GeneralRe: Bind JSON data to rows in a table MVC4 issue Pin
Member 127814647-May-18 4:32
Member 127814647-May-18 4:32 
Questionc# GridView. Displaying tables in dropdownlist, selecting and editing them. Pin
trottl4-May-18 2:07
trottl4-May-18 2:07 
AnswerRe: c# GridView. Displaying tables in dropdownlist, selecting and editing them. Pin
Gerry Schmitz5-May-18 4:39
mveGerry Schmitz5-May-18 4:39 
GeneralRe: c# GridView. Displaying tables in dropdownlist, selecting and editing them. Pin
trottl10-May-18 0:47
trottl10-May-18 0:47 
GeneralRe: c# GridView. Displaying tables in dropdownlist, selecting and editing them. Pin
trottl10-May-18 1:15
trottl10-May-18 1:15 
AnswerRe: c# GridView. Displaying tables in dropdownlist, selecting and editing them. Pin
trottl14-May-18 1:59
trottl14-May-18 1:59 
QuestionC# Newbie - Vector Printing of Visio Document using AxVisioViewer ActiveX control. Pin
chubbsy1-May-18 23:02
chubbsy1-May-18 23:02 
Hello,

As a first time poster, and not a developer (although competent with PowerShell!), I would be grateful for some assistance on the above issue.

I am using VS2013Express to create a windows form based application which will display and eventually print Visio documents, rather than relying on the browser based Visio Viewer. Needless to say this is a very specific requirement, so really don't need anyone telling me to use the MS Visio Viewer!

So far, I can open the Visio document, display it using the AxVisioViewer.dll control. I can even print... to a degree.

The issue is that I can only print currently using a PrintFromScreen method which basically captures the image of the form as displayed on screen and creates a Raster BitMap of it.

I copy the BitMap image to a hidden panel on the form (to remove toolbars etc), then print the contents of the panel. Simple (ish)!

What I want to be able to do is resize (Vector not Raster to retain scale) and centre the image as required to ensure the document prints properly.

This is my first delve into C# and so far it's fun... until you find you can't do something... then it becomes painful!

Any help would be very much appreciated!

Thank you.

Chubbsy.
AnswerRe: C# Newbie - Vector Printing of Visio Document using AxVisioViewer ActiveX control. Pin
Eddy Vluggen2-May-18 7:36
professionalEddy Vluggen2-May-18 7:36 
GeneralRe: C# Newbie - Vector Printing of Visio Document using AxVisioViewer ActiveX control. Pin
chubbsy22-May-18 1:46
chubbsy22-May-18 1:46 
GeneralRe: C# Newbie - Vector Printing of Visio Document using AxVisioViewer ActiveX control. Pin
Eddy Vluggen22-May-18 1:48
professionalEddy Vluggen22-May-18 1:48 
QuestioniTextSharp - Saving file to a remote server Pin
User 136751141-May-18 22:21
User 136751141-May-18 22:21 
AnswerRe: iTextSharp - Saving file to a remote server Pin
Jochen Arndt2-May-18 1:46
professionalJochen Arndt2-May-18 1:46 
GeneralRe: iTextSharp - Saving file to a remote server Pin
User 136751142-May-18 1:50
User 136751142-May-18 1:50 
GeneralRe: iTextSharp - Saving file to a remote server Pin
Jochen Arndt2-May-18 2:00
professionalJochen Arndt2-May-18 2:00 
QuestionSIMD Experiment (System.Numeric.Vectors.Vector2 test) Pin
Super Lloyd29-Apr-18 16:12
Super Lloyd29-Apr-18 16:12 
AnswerRe: SIMD Experiment (System.Numeric.Vectors.Vector2 test) Pin
Jochen Arndt1-May-18 23:41
professionalJochen Arndt1-May-18 23:41 
GeneralRe: SIMD Experiment (System.Numeric.Vectors.Vector2 test) Pin
Super Lloyd2-May-18 2:35
Super Lloyd2-May-18 2:35 
GeneralRe: SIMD Experiment (System.Numeric.Vectors.Vector2 test) Pin
Jochen Arndt2-May-18 2:48
professionalJochen Arndt2-May-18 2:48 
QuestionSystem.Numerics.Vectors (SIMD) Pin
Super Lloyd29-Apr-18 14:40
Super Lloyd29-Apr-18 14:40 
Questionlibvlc dll with network streaming is not working Pin
Member 1288274528-Apr-18 19:34
Member 1288274528-Apr-18 19:34 
AnswerRe: libvlc dll with network streaming is not working Pin
Jochen Arndt29-Apr-18 1:09
professionalJochen Arndt29-Apr-18 1:09 
GeneralRe: libvlc dll with network streaming is not working Pin
Member 1288274529-Apr-18 19:01
Member 1288274529-Apr-18 19:01 
GeneralRe: libvlc dll with network streaming is not working Pin
Jochen Arndt29-Apr-18 21:10
professionalJochen Arndt29-Apr-18 21:10 
GeneralRe: libvlc dll with network streaming is not working Pin
Member 1288274529-Apr-18 23:15
Member 1288274529-Apr-18 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.