PdfSharp-GDI  1.31.7289
PdfSharp.Forms Namespace Reference

Classes

class  ColorComboBox
 A combo box control for selection XColor values. More...
 
struct  DeviceInfos
 Contains information about a physical device like a display or a printer. More...
 
class  PagePreview
 Represents a preview control for an XGraphics page. Can be used as an alternative to System.Windows.Forms.PrintPreviewControl. More...
 
class  PagePreviewCanvas
 Implements the control that previews the page. More...
 

Enumerations

enum class  RenderMode { Direct = 0 , Metafile = 1 , Bitmap = 2 }
 Specifies how to reander the preview. More...
 
enum class  Zoom {
  Mininum = 10 , Maximum = 800 , Percent800 = 800 , Percent600 = 600 ,
  Percent400 = 400 , Percent200 = 200 , Percent150 = 150 , Percent100 = 100 ,
  Percent75 = 75 , Percent50 = 50 , Percent25 = 25 , Percent10 = 10 ,
  BestFit = -1 , TextFit = -2 , FullPage = -3 , OriginalSize = -4
}
 Defines a zoom factor used in the preview control. More...
 

Enumeration Type Documentation

◆ RenderMode

Specifies how to reander the preview.

Enumerator
Direct 

Draw immediately.

Metafile 

Draw using a metafile

Bitmap 

Draw using a bitmap image.

◆ Zoom

enum PdfSharp.Forms.Zoom
strong

Defines a zoom factor used in the preview control.

Enumerator
Mininum 

The smallest possible zoom factor.

Maximum 

The largest possible zoom factor.

Percent800 

A pre-defined zoom factor.

Percent600 

A pre-defined zoom factor.

Percent400 

A pre-defined zoom factor.

Percent200 

A pre-defined zoom factor.

Percent150 

A pre-defined zoom factor.

Percent100 

A pre-defined zoom factor.

Percent75 

A pre-defined zoom factor.

Percent50 

A pre-defined zoom factor.

Percent25 

A pre-defined zoom factor.

Percent10 

A pre-defined zoom factor.

BestFit 

Sets the zoom factor so that the document fits horizontally into the window.

TextFit 

Sets the zoom factor so that the printable area of the document fits horizontally into the window. Currently not yet implemented and the same as ZoomBestFit.

FullPage 

Sets the zoom factor so that the whole document fits completely into the window.

OriginalSize 

Sets the zoom factor so that the document is displayed in its real physical size (based on the DPI information returned from the OS for the current monitor).