Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsGraphicsInfoMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Printing MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: This class gives information for Windows Device contexts.
Example:
dim g as Graphics = OpenPrinter
dim info as WindowsGraphicsInfoMBS = g.WindowsGraphicsInfoMBS

MsgBox _
"Printer physical page size: "+str(info.PhysicalWidth)+" "+str(info.PhysicalHeight)+_
EndOfLine+_
"Useable paper size: "+str(info.ResolutionX)+ " x "+str(info.ResolutionY)+_
EndOfLine+_
"Paper size: "+str(info.SizeX)+" x "+str(info.Sizey)+" mm"
Notes: Main use currently is to learn about native resolution of a printer graphics object.

Feedback, Comments & Corrections

Technology Constants

Constant Value Description
kTechnologyCharStream 4 Character stream
kTechnologyDisplayFile 6 Display file
kTechnologyMetaFile 5 Metafile
kTechnologyPlotter 0 Vector plotter
kTechnologyRasterCamera 3 Raster camera
kTechnologyRasterDisplay 1 Raster display
kTechnologyRasterPrinter 2 Raster printer

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


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


WindowsFontFamilyMBS   -   WindowsGrowlMBS




Links
MBS Xojo Chart Plugins