Class DLSViewer
Represents a DLS veiwer that can be used to view DLS Documents.
Inheritance
System.Object
DLSViewer
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class DLSViewer : ScrollableControl
Constructors
DLSViewer()
Declaration
Properties
CurrentPageIndex
Declaration
public int CurrentPageIndex { get; set; }
Property Value
Document
Declaration
public IDocument Document { get; set; }
Property Value
PageCount
Declaration
public int PageCount { get; }
Property Value
PrintDocument
Declaration
public PrintDocument PrintDocument { get; }
Property Value
Type |
System.Drawing.Printing.PrintDocument |
Methods
AttachOtherGraphics(DLSGraphics)
Declaration
public void AttachOtherGraphics(DLSGraphics dlsGraphics)
Parameters
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.PaintEventArgs |
e |
|
OnPrintPage(Object, PrintPageEventArgs)
Declaration
protected virtual void OnPrintPage(object sender, PrintPageEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.Drawing.Printing.PrintPageEventArgs |
e |
|
Print()
Declaration
SetDPIFromGraphics(Graphics)
Declaration
public void SetDPIFromGraphics(Graphics g)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|