Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

struct DeviceInfo
Description
contains information about a device.

Elements' 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.  
Elements' Details
Width
long Width;
Description
contains the width of the device in pixels.
Height
long Height;
Description
contains the height of the device in pixels.
LeftInset
long LeftInset;
Description
contains the inset from the left.
TopInset
long TopInset;
Description
contains the inset from the top.
RightInset
long RightInset;
Description
contains the inset from the right.
BottomInset
long BottomInset;
Description
contains the inset from the bottom.
PixelPerMeterX
double PixelPerMeterX;
Description
contains the X-axis resolution of the device in pixel/meter.
PixelPerMeterY
double PixelPerMeterY;
Description
contains the Y-axis resolution of the device in pixel/meter.
BitsPerPixel
short BitsPerPixel;
Description
contains the color-depth of the device.
Capabilities
long Capabilities;
Description
specifies special operations which are possible on the device.
See also
DeviceCapability
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.