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
| SLPageSettings settings = document.GetPageSettings()!; | |
| settings.ZoomScale = 100; | |
| document.SetPageSettings(settings); |
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
| class IncludeHandler : Include | |
| { | |
| readonly string directoryName; | |
| public IncludeHandler(string directoryName) | |
| { | |
| this.directoryName = directoryName; | |
| } | |
| public void Dispose() |
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
| Imports System | |
| Imports System.Drawing | |
| Imports System.Drawing.Imaging | |
| Imports System.IO | |
| Imports System.Runtime.InteropServices | |
| Imports System.Windows.Forms | |
| ''' <summary> | |
| ''' Permet d'extraire l'image bitmap de l'aperçu d'un fichier .dwg. | |
| ''' </summary> |
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
| using System; | |
| using System.Runtime.InteropServices; | |
| namespace WriteToExcel | |
| { | |
| class Program | |
| { | |
| const string EXCEL_PROG_ID = "Excel.Application"; | |
| const uint MK_E_UNAVAILABLE = 0x800401e3; |
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
| Public Class WindowWrapper | |
| Implements System.Windows.Forms.IWin32Window | |
| Private ReadOnly _hwnd As IntPtr | |
| Public Sub New(handle As IntPtr) | |
| _hwnd = handle | |
| End Sub | |