Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsPageFormatMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Printing MBS Win Plugin 10.4 No Yes No Yes, Windows only No
Function: The class for a page format.
Example:
// change the printer name to your printer's name
dim w as new WindowsPrinterMBS(WindowsPrinterMBS.GetDefaultPrinter)
dim formats(-1) as WindowsPageFormatMBS = w.GetPrinterFormats

for each p as WindowsPageFormatMBS in formats
MsgBox p.Name
next
Notes:
This class wraps the FORM_INFO_1 structure. You can find more information here:
http://msdn.microsoft.com/en-us/library/dd144836(v=VS.85).aspx

Feedback, Comments & Corrections

String Type Constants

Constant Value Description
STRING_LANGPAIR 4 The display name and language ID are provided directly by DisplayName and the language is specified by LangId.
STRING_MUIDLL 2 The display name is extracted from the Multilingual User Interface localized resources DLL specified in MuiDll. The ID is in the ResourceId member.
STRING_NONE 1 There is no localized display name.

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.


WindowsMutexMBS   -   WindowsPageSetupDialogMBS




Links
MBS FileMaker blog