[]
        
(Showing Draft Content)

C1.C1Preview.SystemInfo

SystemInfo Class

Represents operating system related information in a C1PrintDocument.

Inheritance
SystemInfo
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class SystemInfo

Constructors

Name Description
SystemInfo()

Initializes a new instance of the SystemInfo class. Note that the property values are not updated by this constructor, the Initialize() method should be used to actually fill the current object with system info data.

Properties

Name Description
AssemblyVersion

Gets the assembly version of the assembly containing the C1PrintDocument class.

Culture

Gets the current culture.

DocumentFormatVersion

Gets a string representing the format version used to serialize a C1PrintDocument. Format versions are backward-compatible, but not necessarily forward-compatible.

LogicalDpiX

Gets the logical horizontal resolution (DPI) of the screen.

LogicalDpiY

Gets the logical vertical resolution (DPI) of the screen.

MeasurementDevice

Gets the measurement device as returned by MeasurementDevice.

MeasurementDeviceDescription

Gets the MeasurementPrinterName if MeasurementDevice is a printer, or the word "Screen" if it is the screen.

MeasurementDpi

Gets the measurement resolution as returned by MeasurementDpi.

MeasurementPrinterName

Gets the measurement printer name as returned by MeasurementPrinterName.

OSVersion

Gets the OS version as returned by VersionString.

PhysicalDpiX

Gets the physical horizontal resolution (DPI) of the screen.

PhysicalDpiY

Gets the physical vertical resolution (DPI) of the screen.

PrimaryScreenBounds

Gets the bounds of the screen as returned by Bounds.

ScreenCount

Gets the number of system screens.

Methods

Name Description
Initialize()

Updates the properties of the current SystemInfo object with the current system info data.