Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsGraphicsInfoMBS.AspectX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Relative width of a device pixel used for line drawing.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.AspectXY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Diagonal width of the device pixel used for line drawing.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.AspectY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Relative height of a device pixel used for line drawing.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.BitsPerPixel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of adjacent color bits for each pixel.
Example:
dim p as new Picture(200, 200, 32)
dim info as new WindowsGraphicsInfoMBS(p.Graphics)

MsgBox "Color Depth: "+str(info.BitsPerPixel)
Notes:
As example gives a display device context, the bits per pixel is the screen depth.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.BrushesCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of device-specific brushes.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.ColorCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of entries in the device's color table, if the device has a color depth of no more than 8 bits per pixel.
Notes:
For devices with greater color depths, 1 is returned.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.DesktopResolutionX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Horizontal width of entire desktop in pixels.
Example:
dim p as new Picture(200, 200, 32)
dim info as new WindowsGraphicsInfoMBS(p.Graphics)

MsgBox "Size of Windows Desktop: "+str(info.DesktopResolutionX)+ " x "+str(info.DesktopResolutionY)
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.DesktopResolutionY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Vertical height of entire desktop in pixels.
Example:
dim p as new Picture(200, 200, 32)
dim info as new WindowsGraphicsInfoMBS(p.Graphics)

MsgBox "Size of Windows Desktop: "+str(info.DesktopResolutionX)+ " x "+str(info.DesktopResolutionY)
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.DriverVersion as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: The device driver version.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.FontCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of device-specific fonts.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.LogPixelsX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of pixels per logical inch along the screen width.
Example:
dim g as Graphics = OpenPrinter
dim info as WindowsGraphicsInfoMBS = g.WindowsGraphicsInfoMBS

MsgBox "Printer resolution: "+str(info.LogPixelsX)+" x "+str(info.LogPixelsY)
Notes:
In a system with multiple display monitors, this value is the same for all monitors.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.LogPixelsY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of pixels per logical inch along the screen height.
Example:
dim g as Graphics = OpenPrinter
dim info as WindowsGraphicsInfoMBS = g.WindowsGraphicsInfoMBS

MsgBox "Printer resolution: "+str(info.LogPixelsX)+" x "+str(info.LogPixelsY)
Notes:
In a system with multiple display monitors, this value is the same for all monitors.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.MakersCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of markers the device has.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.PenCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of device-specific pens.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.PhysicalHeight as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: For printing devices: the height of the physical page, in device units.
Notes:
For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper has a physical height value of 6600 device units. Note that the physical page is almost always greater than the printable area of the page, and never smaller.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.PhysicalOffsetX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: For printing devices: the distance from the left edge of the physical page to the left edge of the printable area, in device units.
Notes:
For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper, that cannot print on the leftmost 0.25-inch of paper, has a horizontal physical offset of 150 device units.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.PhysicalOffsetY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: For printing devices: the distance from the top edge of the physical page to the top edge of the printable area, in device units.
Notes:
For example, a printer set to print at 600 dpi on 8.5-by-11-inch paper, that cannot print on the topmost 0.5-inch of paper, has a vertical physical offset of 300 device units.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.PhysicalWidth as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: For printing devices: the width of the physical page, in device units.
Notes:
For example, a printer set to print at 600 dpi on 8.5-x11-inch paper has a physical width value of 5100 device units. Note that the physical page is almost always greater than the printable area of the page, and never smaller.
(Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.Planes as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Number of color planes.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.ResolutionX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Width, in pixels, of the screen; or for printers, the width, in pixels, of the printable area of the page.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.ResolutionY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Height, in raster lines, of the screen; or for printers, the height, in pixels, of the printable area of the page.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.ScalingFactorX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Scaling factor for the x-axis of the printer.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.ScalingFactorY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Scaling factor for the y-axis of the printer.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.SizeX as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Width, in millimeters, of the physical screen.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.SizeY as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Height, in millimeters, of the physical screen.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.Technology as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Device technology. It can be any one of the kTechnology* constants.
Notes: (Read and Write property)

Feedback, Comments & Corrections

WindowsGraphicsInfoMBS.VRefresh as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: For display devices: the current vertical refresh rate of the device, in cycles per second (Hz).
Notes: (Read and Write property)

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.





Links
MBS Xojo Plugins