# AutoCAD-Slide-Library-Manager **Repository Path**: comblue/AutoCAD-Slide-Library-Manager ## Basic Information - **Project Name**: AutoCAD-Slide-Library-Manager - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-13 - **Last Updated**: 2026-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Autodesk Slide Library Manager Application ( SLM ) Slm is a utility which helps you to create, edit, and manage AutoCAD slide libraries. It can read any version of AutoCAD slides, or slide libraries. It can also read any slide format (platform dependent such as UNIX, MAC, INTEL), and convert them into PNG transparent images. [Download the installer here](https://github.com/ADN-DevTech/AutoCAD-Slide-Library-Manager/blob/master/Slm/Wix/AutoCADSlideLibraryManager.msi?raw=true) ![Slm Help](https://github.com/ADN-DevTech/AutoCAD-Slide-Library-Manager/blob/master/Slm/Help/Slm-Help.png) ## The WPF Slide Control The ‘Slide' control is a WPF control which displays slides under Windows platforms. It can be used by any other WPF application. It exposes three objects which are: * SlideObject - which gives you access to 'slides'. I.e. SLD * SlideLibObject - which gives you access to Slide Libraries. I.e. SLB * SlideCtrl - the control itself ### Install using NuGet: 1. Create a Wpf Application 2. Project -> Manage NuGet Packages... 3. Search and Install 'AutoCAD Slide Control' package or if the package does not show use the console 1. Create a Wpf Application 2. Tools -> NuGet Package Manager -> Package Manager Console 3. On the console, enter: Install-Package AutoCAD.Slide.Control ### SlideObject This class gives you access to 'slide' object. 1. Add the following line to your code
using Autodesk.AutoCAD.Windows; 2. You can now use the SlideObject class. Example ``` c# using Autodesk.AutoCAD.Windows; SlideObject sld = new SlideObject(@"MySlide.sld"); BitmapImage renderBitmap = sld.Export(); PngBitmapEncoder encoder = new PngBitmapEncoder(); encoder.Frames.Add(BitmapFrame.Create(renderBitmap)); // Push the rendered bitmap to it using (FileStream outStream = new FileStream(@"MySlide.png", FileMode.Create)) // Create a file stream for saving image { encoder.Save(outStream); } ``` ### SlideLibObject This class gives you access to 'slide library' object. 1. Add the following line to your code
using Autodesk.AutoCAD.Windows; 2. You can now use the SlideLibObject class. Example ``` c# using Autodesk.AutoCAD.Windows; SlideLibObject slb = new SlideLibObject(@"acad.slb"); SlideObject sld = slb._Slides["ZIGZAG"]; sld.SaveAs("ZIGZAG.sld"); ``` is equivalent to ``` c# using Autodesk.AutoCAD.Windows; SlideObject sld = SlideLibObject.LoadSlideFromLibrary(@"acad.slb", "ZIGZAG"); sld.SaveAs("ZIGZAG.sld"); ``` ### SlideCtrl This control allows you to display AutoCAD Slides in a WPF application. 1. Add the following line to your WPF Window xaml
``` xml xmlns:SlideCtrlNS="clr-namespace:Autodesk.AutoCAD.Windows;assembly=SlideCtrl" ``` 2. Insert the control in you window like this
``` xml ``` Example ``` xml ``` ``` c# using Autodesk.AutoCAD.Windows; SlideObject sld = new SlideObject(@"MySlide.sld"); preview.Slide = sld; ``` or ``` c# using Autodesk.AutoCAD.Windows; preview.SlideFileName = @"MySlide.sld"; ``` ## License Autodesk Slide Control / Slide Library Manager Application are licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see the [LICENSE](LICENSE) file for full details. ## Written by Cyrille Fauvel
Autodesk Developer Network
Autodesk Inc.
http://www.autodesk.com/adn