// https://jsfiddle.net/mani04/5zyozvx8/
new Vue({
el: '#app',
template: `
<div>
<div class="file-upload-form">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Normal Plot</title> | |
<meta name="description" content=""> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<style type="text/css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void GetDefaultPaperSize() | |
{ | |
var devMode = PInvoke.PrinterHelper.GetPrinterDevMode(null); | |
string s = String.Format("{0} : {1} x {2}", devMode.dmPaperSize, devMode.dmPaperWidth, devMode.dmPaperLength); | |
Console.WriteLine(s); | |
} | |
void SetDefaultPaperSize() | |
{ | |
string formName = "User defined"; |