From cd2811626b4e23e19d1615b26cd6685df7e29ef2 Mon Sep 17 00:00:00 2001 From: VinothSF5015 Date: Sun, 26 Apr 2026 14:47:41 +0530 Subject: [PATCH] 996021 - Sample Added --- .../Inches To Points/Inches To Points.slnx | 3 +++ .../Inches To Points/Inches To Points.csproj | 20 +++++++++++++++++++ .../Inches To Points/Output/.gitkeep | 0 .../Inches To Points/Program.cs | 18 +++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 FAQ/Inches To Points/.NET/Inches To Points/Inches To Points.slnx create mode 100644 FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Inches To Points.csproj create mode 100644 FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Output/.gitkeep create mode 100644 FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Program.cs diff --git a/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points.slnx b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points.slnx new file mode 100644 index 00000000..c3923a64 --- /dev/null +++ b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points.slnx @@ -0,0 +1,3 @@ + + + diff --git a/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Inches To Points.csproj b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Inches To Points.csproj new file mode 100644 index 00000000..31ee28a7 --- /dev/null +++ b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Inches To Points.csproj @@ -0,0 +1,20 @@ + + + + Exe + net8.0 + Inches_To_Points + enable + enable + + + + + + + + Always + + + + diff --git a/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Output/.gitkeep b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Output/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Program.cs b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Program.cs new file mode 100644 index 00000000..e89e2671 --- /dev/null +++ b/FAQ/Inches To Points/.NET/Inches To Points/Inches To Points/Program.cs @@ -0,0 +1,18 @@ +using Syncfusion.XlsIO; + +class Program +{ + static void Main(string[] args) + { + using (ExcelEngine excelEngine = new ExcelEngine()) + { + IApplication application = excelEngine.Excel; + + // Converts inches to points + double inches = 4.5; + double points = application.InchesToPoints(inches); + + Console.WriteLine($"{inches} inches is equal to {points} points."); + } + } +} \ No newline at end of file