Platforms to show: All Mac Windows Linux Cross-Platform
WindowsPageFormatMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Printing | MBS Win Plugin | 10.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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
- 17 properties
- property DisplayName as String
- property Flags as Integer
- property ImageableAreaBottom as Integer
- property ImageableAreaHeight as Integer
- property ImageableAreaLeft as Integer
- property ImageableAreaRight as Integer
- property ImageableAreaTop as Integer
- property ImageableAreaWidth as Integer
- property Keyword as String
- property LangId as Integer
- property Mode as Integer
- property MuiDll as String
- property Name as String
- property ResourceId as Integer
- property SizeHeight as Integer
- property SizeWidth as Integer
- property StringType as Integer
- 6 constants
Constants
Constant | Value | Description |
---|---|---|
FORM_BUILTIN | 1 |
One of the flag constants.
If this bit-flag is set, the form is part of the spooler. Form definitions with this flag set do not appear in the registry. |
FORM_PRINTER | 2 |
One of the flag constants.
If this bit flag is set, the form is associated with a certain printer, and its definition appears in the registry. |
FORM_USER | 0 |
One of the flag constants.
If this bit flag is set, the form has been defined by the user. Forms with this flag set are defined in the registry. |
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:
- WindowsPrinterMBS.AddForm(form as WindowsPageFormatMBS) as boolean
- WindowsPrinterMBS.GetForm(name as string) as WindowsPageFormatMBS
- WindowsPrinterMBS.GetPrinterFormats as WindowsPageFormatMBS()
- WindowsPrinterMBS.SetForm(name as string, form as WindowsPageFormatMBS) as boolean
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS Win Plugin.
WindowsOCRWordMBS - WindowsPageSetupDialogMBS