PdfSharp-GDI  1.31.7289
PdfSharp.Forms.DeviceInfos Struct Reference

Contains information about a physical device like a display or a printer. More...

Public Member Functions

static int GetDeviceCaps (IntPtr hdc, int capability)
 

Static Public Member Functions

static DeviceInfos GetInfos (IntPtr hdc)
 Gets a DeviceInfo for the specifed device context. More...
 

Public Attributes

int HorizontalSize
 Width, in millimeters, of the physical screen or device. More...
 
int VerticalSize
 Height, in millimeters, of the physical screen or device. More...
 
int HorizontalResolution
 Width, in pixels, of the screen or device. More...
 
int VerticalResolution
 Height, in pixels, of the screen or device. More...
 
int LogicalDpiX
 Number of pixels per logical inch along the screen or device width. More...
 
int LogicalDpiY
 Number of pixels per logical inch along the screen or device height. More...
 
float PhysicalDpiX
 Number of pixels per physical inch along the screen or device width. More...
 
float PhysicalDpiY
 Number of pixels per physical inch along the screen or device height. More...
 
float ScaleX
 The ratio of LogicalDpiX and PhysicalDpiX. More...
 
float ScaleY
 The ratio of LogicalDpiY and PhysicalDpiY. More...
 

Static Public Attributes

const int HORZSIZE = 4
 
const int VERTSIZE = 6
 
const int HORZRES = 8
 
const int VERTRES = 10
 
const int LOGPIXELSX = 88
 
const int LOGPIXELSY = 90
 

Detailed Description

Contains information about a physical device like a display or a printer.

Member Function Documentation

◆ GetDeviceCaps()

static int PdfSharp.Forms.DeviceInfos.GetDeviceCaps ( IntPtr  hdc,
int  capability 
)

◆ GetInfos()

static DeviceInfos PdfSharp.Forms.DeviceInfos.GetInfos ( IntPtr  hdc)
static

Gets a DeviceInfo for the specifed device context.

Member Data Documentation

◆ HorizontalResolution

int PdfSharp.Forms.DeviceInfos.HorizontalResolution

Width, in pixels, of the screen or device.

◆ HorizontalSize

int PdfSharp.Forms.DeviceInfos.HorizontalSize

Width, in millimeters, of the physical screen or device.

◆ HORZRES

const int PdfSharp.Forms.DeviceInfos.HORZRES = 8
static

◆ HORZSIZE

const int PdfSharp.Forms.DeviceInfos.HORZSIZE = 4
static

◆ LogicalDpiX

int PdfSharp.Forms.DeviceInfos.LogicalDpiX

Number of pixels per logical inch along the screen or device width.

◆ LogicalDpiY

int PdfSharp.Forms.DeviceInfos.LogicalDpiY

Number of pixels per logical inch along the screen or device height.

◆ LOGPIXELSX

const int PdfSharp.Forms.DeviceInfos.LOGPIXELSX = 88
static

◆ LOGPIXELSY

const int PdfSharp.Forms.DeviceInfos.LOGPIXELSY = 90
static

◆ PhysicalDpiX

float PdfSharp.Forms.DeviceInfos.PhysicalDpiX

Number of pixels per physical inch along the screen or device width.

◆ PhysicalDpiY

float PdfSharp.Forms.DeviceInfos.PhysicalDpiY

Number of pixels per physical inch along the screen or device height.

◆ ScaleX

float PdfSharp.Forms.DeviceInfos.ScaleX

The ratio of LogicalDpiX and PhysicalDpiX.

◆ ScaleY

float PdfSharp.Forms.DeviceInfos.ScaleY

The ratio of LogicalDpiY and PhysicalDpiY.

◆ VerticalResolution

int PdfSharp.Forms.DeviceInfos.VerticalResolution

Height, in pixels, of the screen or device.

◆ VerticalSize

int PdfSharp.Forms.DeviceInfos.VerticalSize

Height, in millimeters, of the physical screen or device.

◆ VERTRES

const int PdfSharp.Forms.DeviceInfos.VERTRES = 10
static

◆ VERTSIZE

const int PdfSharp.Forms.DeviceInfos.VERTSIZE = 6
static

The documentation for this struct was generated from the following file: