struct DeviceInfo in module com::sun::star::awt::

(Global Index)

Syntax

struct DeviceInfo;

Description

contains information about a device.

Field Summary

Width contains the width of the device in pixels.

Height contains the height of the device in pixels.

LeftInset contains the inset from the left.

TopInset contains the inset from the top.

RightInset contains the inset from the right.

BottomInset contains the inset from the bottom.

PixelPerMeterX contains the X-axis resolution of the device in pixel/meter.

PixelPerMeterY contains the Y-axis resolution of the device in pixel/meter.

BitsPerPixel contains the color-depth of the device.

Capabilities specifies special operations which are possible on the device.

Field Details



Width

Syntax

long Width;

Description

contains the width of the device in pixels.


Height

Syntax

long Height;

Description

contains the height of the device in pixels.


LeftInset

Syntax

long LeftInset;

Description

contains the inset from the left.


TopInset

Syntax

long TopInset;

Description

contains the inset from the top.


RightInset

Syntax

long RightInset;

Description

contains the inset from the right.


BottomInset

Syntax

long BottomInset;

Description

contains the inset from the bottom.


PixelPerMeterX

Syntax

double PixelPerMeterX;

Description

contains the X-axis resolution of the device in pixel/meter.


PixelPerMeterY

Syntax

double PixelPerMeterY;

Description

contains the Y-axis resolution of the device in pixel/meter.


BitsPerPixel

Syntax

short BitsPerPixel;

Description

contains the color-depth of the device.


Capabilities

Syntax

long Capabilities;

Description

specifies special operations which are possible on the device.

See also

DeviceCapability
Top of Page